used Java8's API. 2. The Android app developper who has not yet used Java8's API. 3. The Java programmer who feels strange to Lambda expression. 4. The programmer who think that Stream API is not useful because for loop is so fantastic.
"1", "2", "3", "4", "5", "6", "7", "8", "9" for (final String n : nums) { final int i = Integer.parseInt(n); if (i % 2 == 0) { System.out.println(i); } }
= new HashSet<>(); for (Person p : people) { if (p.getAge() >= 65) { groups.add(p.getGroup()); } } for (Group g : groups) { System.out.println(g.getName()); } Oh...Too complex!
loop code. 2. It's not enough functions. 1. Why don't you use Eclipse Collections! 3. It use more memory than nomal loop code. 4. It can't debug each line.