Skip to main content
-1 votes
1 answer
58 views

I am trying to understand the nest js running project. there is a folder for the repository and in that folder like db |-- entities (all the tables) |-- interfaces |-- repositories |- base (base repo) ...
Meet's user avatar
  • 11
-2 votes
3 answers
153 views

I want to create an fixed size list in java, according to my searchings & readings from the internet i couldn't find that feature in java, However i want to create a fixed size list with 100 ...
Andro's user avatar
  • 114
1 vote
2 answers
189 views

In Delphi, you can delegate the implementation of an interface to a class property. In the example, the TImplementator class implements the IImplementsInterface contract, aggregating the class - its ...
sstvit's user avatar
  • 11
0 votes
0 answers
126 views

In C++ I can do something like this: class async_get_if { public: virtual void get( int & ) = 0; }; class sync_get_if { public: bool empty() = 0; bool try_get( int &t ) = 0; }; class ...
Adam Rose's user avatar
0 votes
0 answers
78 views

I'm trying to implement the approx crate traits for a struct and it's fine with the values that are f64, but I don't know how to implement for the Vec values. The struct is pub struct Body<T> { ...
thefrollickingnerd's user avatar
1 vote
2 answers
210 views

I can't get a clue why do we need implements? According to this https://dart.dev/language/classes#implicit-interfaces After we used implements we should rewrite everything we have in parent class ...
Stas Motorny's user avatar
0 votes
0 answers
33 views

My library was placed in jitpack, but it cannot be implemented in Android, it gives an error that the address does not exist erro implementation 'com.github.dorfaksoft:com.pushstorm:1.7.9' ...
hmir's user avatar
  • 127
0 votes
0 answers
67 views

say I have these two classes in a single file where class A is a top level class: class A{ class B{ } } how to make another top level class, say class C, extend class B without making B ...
kaka's user avatar
  • 845
2 votes
1 answer
1k views

I'm trying to use a HashMap in a very basic way in my struct and I'm confounded by this error ... what am I missing? error[E0277]: the trait bound `HashMap<&str, &T>: Hash` is not ...
user10658782's user avatar
1 vote
0 answers
80 views

Please consider the following: Public Interface IDatabase [...] ''' <summary> ''' Executes the specified SQL command against the current ''' <see cref="IDatabase"/> ...
G_Hosa_Phat's user avatar
  • 1,110
0 votes
1 answer
383 views

I'm studying Spring Kafka, and I came across the @Retryable annotation, which supposedly implements retry logic asynchronously according to the annotation's comments. However, while examining the code ...
samsamsamsmasma's user avatar
0 votes
0 answers
53 views

I'am trying to implements UserDetails by SecurityCore. @Data @Builder @NoArgsConstructor @AllArgsConstructor @Entity @Table(name = "user") public class User implements UserDetails { @Id ...
DaroGawlik's user avatar
3 votes
1 answer
217 views

I want to create 2 Enums (or even more later on) with a same field, and a same method relating to it, like: enum Enum1 { A1('A1', 1), B1('B1', 2); String name; int x1; Enum1(this.name, this....
Egamad's user avatar
  • 33
0 votes
2 answers
108 views

I am very new to Java collection framework,pardon me if this question sounds silly. there is one method 'iterator()' specified in 'Iterable ' Interface which returns an 'Iterator ' over elements of ...
Anand Pandey's user avatar
2 votes
0 answers
76 views

I am currently working on a legacy code in Java 1.6 and i found that they have a Constants Interface in the Utils package (Is a quite old Webapps) Well, some of the classes import the interface and ...
Grismak's user avatar
  • 316

15 30 50 per page
1
2 3 4 5
28