Posts by Michelle Oliveira • 41 points
4 posts
-
0
votes6
answers1811
viewsA: Loop Array - Fruit
There are some functional operations in the array called filter and another called map, you could use it to get this result as follows: let listaDeFrutas = [ "Uva", "Banana", "Manga", "Cajá",…
-
1
votes1
answer637
viewsA: How to find where is the circular reference in GSON?
The problem would be the fact that both objects are being set in the other and disturbs the construction of JSON, to solve the problem just add the annotation @JsonIgnore in one of the class…
-
1
votes1
answer54
viewsA: Java service that queries Sqlite once a day
If your application is using the technology EJB 3.1 (Javaee) you can use the annotation @Schedule in the method for it to be executed according to the chronology desired, in your case it could be:…
-
1
votes2
answers169
viewsA: Only one class can instantiate another class, how do we do that?
When you go to implement the employee registration (if you want to implement this restriction in the functionality), you in the class that performs the registration will check if the Employee who is…