Questions tagged [adt]
Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications.
2,506
questions
1
vote
1
answer
36
views
Sorting an ADT Queue
I'm tasked to create a Person class that holds their name and age, create a Queue class that can hold an array of objects and then sort them alphabetically and by age using the quicksort algorithm.
...
0
votes
0
answers
23
views
Install adt Package [duplicate]
Through pycharm I can't install the adt package. I also tried through the terminal which at the command:
pip install adt
responds with this error message:
ERROR: unable to find a version that meets ...
0
votes
1
answer
23
views
I am trying to build ADT map using List. I got everything working but erase(key) function
I am trying to build ADT map using List and iterator. I got everything working but erase(key) function. I am writing erase(int key) function where I try to delete particular (key, value) from the list ...
0
votes
0
answers
52
views
Reading an RSS feed
How can I read data from an RSS feed using jsoup in kotlin? I have to create an ADT containing a list of items and general attributes such as title, link, description, pubDate and in the end I have ...
2
votes
0
answers
32
views
How do I represent an homegeneous list of ADT in Scala?
I'd like to express a contract that models a homogeneous list containing an ADT.
Let's say I have an ADT
sealed trait Letter
case object A extends Letter
case object B extends Letter
If I declare a ...
0
votes
0
answers
24
views
C: Error allocating memory on ADT 1 class
i'm having trouble with a ADT 1 class.
I'm trying to initializing a vector of pointer to a struct, but something doesn't work
Inside Divisione.h i had:
typedef struct divisione_t *divisione_s;
In ...
0
votes
0
answers
90
views
Create carousel with dynamic elements in liferay 7.2
i'm new in liferay and in my formation i need to create an ADT that allows me to display web content in the form of a carousel, I already have my structure and my associated template, I can show the ...
0
votes
0
answers
43
views
How to add a toString to a Stack ADT That Utilizes Two Queue ADTs (Java)
I am trying to add a toString that returns the items in a stack in order from top to bottom in this stack ADT that utilizes two queues instantiated from a queue ADT as it's underlying data structure ...
-1
votes
1
answer
44
views
Java ArrayList: What is Its Abstract Data Type?
Java's "ArrayList" seems like a contradiction to me. An array (static or dynamic) is certainly nothing like a list in a language like c++ or in computer science. What inherits from Java's ...
0
votes
1
answer
57
views
How to represent this FSM in GADT
I was watching this video and learned about GADTs in Scala.
I was able to represent the below state machine
Here’s my code
type Idle
type Moving
enum Direction:
case East, West, North, South
...
1
vote
0
answers
29
views
Developing an Abstract Data Type to convert infix expressions into postfix expressions
I need help to decide using between queue ADT and stack ADT as storage for the infix (input) values.
Also, I need to think about using either ArrayList or LinkedList to implement one of the above ADTs....
0
votes
1
answer
108
views
Tring to connect to Azure Digital Twins from Visual Studio Code: DefaultAzureCredential(); .getToken error
I'm trying to connect to an Azure Digital wins Instance from Visual Studio Code, using Javascript API for Azure Digital Twins.
I have ran npm install @azure/identity and npm install @azure/digital-...
0
votes
1
answer
271
views
Data Structure - Abstract data type VS Concrete data type
Abstract data type (ADT) : Organized data and operations on this data
Examples : Stack, Queue
what's meaning of Concrete data type (CDT)?
please explain by Examples.
1
vote
3
answers
189
views
Using Haskell ADT members' constructors as types
I have an algebraic data type like this:
type Keyword = Text
data DBField = (:=) Keyword DBVal
deriving (Show, Read, Eq)
data DBVal = VNull
| VInt Int64
| VDouble Double
...
1
vote
1
answer
78
views
Is there any way of using name of class as a name of usual data type?
Well, I have two structures (two ADTs) Cashier and Porter that have common property salary. It is reached by implementing class Worker.
type Money = Int
type Kg = Int
class Worker a where
salary :...
0
votes
0
answers
33
views
How to connect Advantage Data Architect using various sources(PowerShell, CMD, Python etc.)?
Can anyone let me know how to connect Advantage Data Architect using various sources(PowerShell, CMD, Python etc.)
-1
votes
1
answer
133
views
Using a class in ADT(abstract data types) or separate compilation in C++
I just started using separate compilation and ADT so I created a project to understand how to create the different types of files. I have created three files
main.cpp (main file)
#include "...
0
votes
1
answer
180
views
Liferay 7.3 adt
Can anyone help me with this error i get when i create a adt template in liferay 7.3?
Denied access to method or field setAttribute of class org.apache.catalina.core.ApplicationHttpRequest
it shows ...
1
vote
1
answer
129
views
Liferay Asset Publisher ADT get Image URL
I have created a structure in Liferay 7.2 that has an image selector. When I add the following to the ADT to get the image
<#assign
artImg = saxReaderUtil.createXPath("dynamic-element[@...
0
votes
1
answer
92
views
C++ evaluating an arithmetic expression in RPN format using ADT stack [closed]
Write a program that uses an ADT Stack to evaluate arithmetic expressions in RPN format. The contents of the stack should be displayed on the screen during evaluation. The allowed arithmetic operators ...
0
votes
0
answers
168
views
How to access a field of type "documents and media" in Liferay DXP 7.3 Application Display Templates (ADT) made in Freemarker?
I´m coding a freemarker aplication display template (adt) in DXP 7.3, trying to get a friendly url for a document uploaded in web content, but I´m getting a json like data value from a document and ...
-1
votes
2
answers
59
views
How to do a cast from void* to a c struct
I have this struct
typedef struct tournament_t
{
Map players;
}*Tournament;
the Map Adt used in the struct is generic and uses this typedef for void*
/** Data element data type for map container */
...
0
votes
1
answer
62
views
Deploy Android app to emulator fails with NoClassDefFoundError
I have the following environment:
Eclipse v4.19.0
Android Development Tools v23.0.7 (Eclipse plugin)
JREs: 8, 7, 6, 5
When I want to deploy test Android application to emulator, I receive following ...
1
vote
0
answers
28
views
Can We build an eclipse ADT project with API Level 29 i am getting error "Unable to build: the file dx.jar was not loaded from the SDK folder"
I have updated SDK platforms for API Level 29. This is an old project build in eclipse still not migrated to studio,now i have to build it with API level 29 because having issues with images for ...
0
votes
1
answer
45
views
Why am I getting an error in this Doubly Linked List? [closed]
So I've been working on doubly linked lists and I want to insert a value at the head of the list.
We should have 2 cases:
Case of an empty list.
Case of a non-empty list.
I think that what I'm doing ...
0
votes
1
answer
47
views
Generic Data Structure problem with Integer comparison
I am trying to implement a generic ADT in Java, similar to a linked list. I had a problem when it is instantiated as Integer, because Find(E e) method fails in the comparison. It happens for values ...
0
votes
0
answers
39
views
Pointer error in stack project's header file with C
i'm currently doing an assignment on making stack in the C language using a header, source, and main file. I'm trying out this code my professor made but there's an error in the header file i couldn't ...
1
vote
1
answer
91
views
Algebraic Data type scala define constructors
I'm new to algebraic data type using scala and I have a question:
I want to define type binary, a binary number is presented by a string of "0" & "1" so I need 3 constructors, ...
1
vote
2
answers
119
views
Array items not displaying properly
I'm trying to write a program to practice some basic ADT methods like insert, append etc but my array won't print out the write items. I already programmed it in c++ and i'm trying to redo it in java. ...
-1
votes
1
answer
51
views
Struct initialized in function loses values (although it's an array)
I'm trying to initialize array *dip inside "leggif1", inside it if you do a print it's all normal but if you try to print in the main, after the initialization, everything loses its values.
...
0
votes
1
answer
44
views
Can Eclipse ADT still be used for Android Development?
Can Eclipse in conjunction with ADT still be used for Android Development (and if yes, how do I go about it) or should I just keep using Android Studio?
I tried setting up ADT on my Eclipse, but it ...
0
votes
1
answer
66
views
String Subscript out of Range , Using Hashing ADT
I have ran into an issue with my Hashing program I keep getting a String Subscript out of Range error but it does not tell me what line it is causing it on. I would like to know what is causing this ...
0
votes
0
answers
153
views
Read Access Violation when implementing hashing ADT
I am working on a Hashing program where it reads a file of famous people based on date, zip code, gender, etc. I have progressed through the program quite a bit but I have been stumped on an error for ...
0
votes
1
answer
113
views
I am trying to deal a deck of 52 playing cards amongst 4 players equally, meaning they will each have 13 cards each. Can only deal cards 4 each
I am trying to deal a deck of 52 playing cards amongst 4 players equally, meaning they will each have 13 cards each. I can only seem to deal 4 cards each and i'm not sure why. Any help would be great. ...
0
votes
0
answers
44
views
Circular Queue Item Output Incorrect
PREVIOUS PROBLEM FIXED AND UPDATED ARRAYQUEUE.CPP WITH CURRENT VERSION
***CURRENT PROBLEM***
I have gotten my items that I am enqueueing to correctly pop up in the my ...
1
vote
1
answer
161
views
Circular Queue Representation using an ArrayQueue
PREVIOUS PROBLEM FIXED AND UPDATED ARRAYQUEUE.CPP WITH CURRENT VERSION
***CURRENT PROBLEM***
I have gotten my items that I am enqueueing to correctly pop up in the my ...
0
votes
0
answers
48
views
Captive runtime packaging issue (Failed to load the AIR Runtime) under Catalina 10.15.7 with ADT
I am trying to package my AIR app on mac (Catalina 10.15.7) with ADT after successful compilation step.
Everything is fine with the .air package on mac and with both .air and .exe under Windows.
But ...
0
votes
1
answer
52
views
Linked List Array Based Implementation- Print Method Not Compiling
For an Assignment we had previously implemented An Array Based Linked List using a node class however, she has requested all students redo this assignment without using the Node class. I have ...
0
votes
1
answer
60
views
Programming with ADTs without OOP?
Does OOP mean that the paradigm is around ADTs, since ADTs are the base of objects? If so, if ADTs are used procedurally, what does this make the procedural code?
0
votes
3
answers
61
views
Cab Dafny use an imported ADT in a match command
Hi I am running into time out problems and am trying to decompose my file into different modules on the hope that a verified module will not have to be reverified, in VS code, when working on a module ...
-1
votes
1
answer
65
views
Is my example a description for ADTs? (java) [closed]
I understand that ADTs (abstract data types) hide/abstract the implementation of a method. So, an interface is an ADT, correct? So my questions are:
Is my example to illustrate the interface MyStack ...
-2
votes
1
answer
409
views
Creating a Union of two linked lists
I am trying to create a function that unites two linked lists. I have created a function that does exactly what I am trying to do but as an array of sets instead of nodes that I will provide below.
My ...
0
votes
0
answers
53
views
Scala implicit in parameter
I am writing some automation test for a test setup on different Android and IOS devices, and i wanted to make a method on my ADT that returns a locator, that fits the specific platform.
final case ...
0
votes
1
answer
177
views
How to make generic ADT in java?
I had wrote my code for queue ADT but it is not generic. I don't know how to convert my code to generic ADT. Anyone can help me figure out how to change my code in order to make it become generic ADT
...
1
vote
1
answer
319
views
ADT (using a header file, source file and main file) in C
I am trying to create a simple ADT using a structure that takes 2 dates. Then returns an age. It must use a Header file, a source file for the Header file, and a main file.
This is what I have it runs ...
0
votes
2
answers
122
views
C++: Can someone explain generally how to design/write a destructor for an abstract data type?
thanks in advance for any help you can give. I am struggling with figuring out what exactly goes into a destructor because I haven't found a great explanation of really how you implement the idea with ...
1
vote
0
answers
37
views
Where to insert in a linked list and why?
Applying open hashing the linked list inserts a new node at the front or at the back, but what's preferable and why, or doesn't it matter?
The principle of open hashing is that the useful values of ...
0
votes
0
answers
56
views
No resource found that matches the given name '@style/Theme.AppCompat.Light' and Theme.AppCompat.Light.DarkActionBar
Hello these are the error
Also in Android sdk Manager didnot find Android Support Library package
0
votes
0
answers
23
views
False value passed on binary tree adt lead to wrong output
So i try to make binary tree using array implementation. I just start it but I got a problem. First, this is my struct that I use to build my node for the tree
typedef char infotype;
typedef int ...
0
votes
0
answers
2k
views
Is ADT plugin for Eclipse still working in 2020?
The process of installing the ADT plugin went normally until the Add Android Preference step where I need to specify the Android SDK folder which traditionally is at C:\Program Files (x86)\Android\...