Rowanto Luo


Just another blog. or log.


Tag: foreach


  1. The Difference between For-Each Loop and forEach()

    People who have played enough with the brand new Java 8 will be familiar with the new forEach(fn(x)) loop in lambda. This syntax is quite popular among developers because it's easier and prettier to use than the normal For-Each loop. It is also popular in other languages, especially…

    java, java8, foreach