Questions tagged [implementation]

Deals with various issues of implementation.

Deals with various issues of implementation of functions, features, languages, etc.

2196 questions
0
votes
0 answers

Java thread implementation vs declaration

i'm currently studying Java and i want to know what is the difference between implementing Runnable to a class and declaring a new thread and executing what you need inside. Thread t = new Thread(){ public void run() { //code here …
0
votes
1 answer

What should I read on json and html parsers to build one myself?

I want to create a json and html parser to deepen my knowledge in them (I don't want to reinvent it to be "more efficient", as you could think). What should I read to succede with it? P.S: I know about parsing laws, but couldn't find some on…
0
votes
1 answer

Could not find method implementation() for arguments [DefaultProjectDependency{dependencyProject='project ':app'', configuration='default'}]

I am trying to integrate Tensorflow with Android Studio. I created the module and all library dependencies but i keep getting this error: Build file '/home/User/AndroidStudioProjects/MyApp/tensorflow-android-1.13.1/build.gradle' line: 4 A problem…
medinaz
  • 23
  • 2
  • 12
0
votes
1 answer

How to find gradle implementation path for a dependency?

Whenever I find a component I want to use it's impossible to find the dependency path + version for it. I would assume it would be stated in the documentation or that there is a reference to it on the repository's Git Hub page, but this have never…
Joel Broström
  • 3,530
  • 1
  • 34
  • 61
0
votes
1 answer

Gradle: com.android.support:support-v4:xx.x.x not supported in anymore in favor of AndroidX

I have an older project. However, a lot of functionality doesn't work anymore. However I want to use it, without changing much. How can I still use the old library?
Jomme
  • 1,256
  • 4
  • 14
  • 26
0
votes
0 answers

Program requires multiple command line parameters in java, need assistance in implementing

Need help with an assignment for Data Structures and Algorithms. It's a two-part assignment where we have to implement two sorting algorithms: DistributionCountingSort and InsertionSort. I have the algorithm parts completed, but I'm a little stuck…
0
votes
2 answers

How can I implement a class template function with a std::enable_if metafunction?

I have used the std::enable_if metafunction in my class template to specify that it is only allowed to generate classes for variables that have GameCard as a base class. This works fine on its own when I implement the functions inline. However, if I…
MaestroMaus
  • 342
  • 1
  • 6
  • 18
0
votes
2 answers

Interface+Implementation in C++: code does not execute

I am reading up Deitel's book on C++: How to program. In one particular section (section 3.9), they have explained the concept of interface and implementation. They have also provided sample code that cements this concept. Although I have…
user755939
  • 63
  • 6
0
votes
1 answer

where Spring framework transactional implementation?

How can i find the implementations of transactional annotion of springframework? I only found the code below: This is decompiled.class file. package org.springframework.transaction.annotation; import java.lang.annotation.Documented; import…
0
votes
1 answer

thread.main problem with my java interface queue, how to solve it?

I working on my homework assignment, build code to queue with support of interface, I wrote my code but the output hade main.thread issue, to be honest I could not find the issue,however I do believe the issue is from insertion,mainly in the size…
Asaranow
  • 19
  • 5
0
votes
1 answer

Implementation of points in sweep line

In sweep line algorithms, I use an array which sorts points by their x-coordinates, and a TreeSet that sorts points by their y-coordinates. Currently, I used two point classes to indicate which comparator to be used (i.e. whether to compare the…
0
votes
1 answer

Duplicate class com.google.android.aidl.BaseProxy found in modules jetified-google-pay-client-api-1.0.0-runtime.jar

Code was working properly for whole day. And suddenly getting below error logs without changing any code.Duplicate dependencies are showing in app. Also tried to get tree structure of all used libraries in app. Duplicate class…
Umesh Suryawanshi
  • 934
  • 1
  • 7
  • 21
0
votes
1 answer

How to implement an interface in C++

I have an assignment and trying to understand something. I have an instruction to create two interfaces: IComparable and IPrintable. Also, I need to create a template called Interval. I am given the main function and I need to implement these…
Omer
  • 57
  • 1
  • 7
0
votes
1 answer

I cant implement retrofit in kotlin

I'm following this tutorial: https://www.youtube.com/watch?v=w6MvFXz5ecA I'm trying to sync retrofit with the following lines in the app.gradle in a new empty project: implementation 'com.squareup.retrofit2:2.5.0' implementation…
0
votes
1 answer

C implementation of linked lists with unique list id's

I need to implement a linked list in kernel code (not sure if it matters too much). the code should identify each linked list with a number between 0 and 255. and each node also has an id inside the list and some other data fields. I'm having some…
user12421682