Posts by rcoelho_6 • 19 points
4 posts
-
1
votes2
answers587
viewsA: Turn a for into lambda with variable interaction
Sirs, I solved the problem with the command: IntStream.range(0,5).forEach(p -> list.get(p).setScore(0.01d * (double)p)); Where the command Intstream.range(0,5) loops, foreach I walked the loop…
-
1
votes2
answers587
viewsQ: Turn a for into lambda with variable interaction
How to turn the section below into a Lambda code? The idea is to multiply the maxScore for i so that at each interaction it increases the number, only for the first 5 results. for(int…
-
-2
votes2
answers83
viewsA: Set of WHERE , AND and OR conditions in SQL does not produce the expected result
You can use not in also, example: and Desc not in ('FRETE','IMPOSTO');
-
0
votes1
answer250
viewsQ: Angular: Module name is not loaded in the ngApp html tag
I’m doing a basic angular test that reads a simple json and displays on the screen. My problem is that when I put the module name in the ng-app tag, all functions of the angular stop working.…