sažetak izlaganja sa skupa
Java lambdas and streams – are they better than for loops?
Sažetak
Should we use lambda expressions and streams instead of using common things like for loops? Which approach gives better performance in case of using collections with fewer objects and which with collections that contain big number of objects? Are the fancy „one liner“ solutions better (faster) than the regular loops or only shorter? The author will try to answer these questions and show few examples after which you can decide when to preferr using lambdas and streams.
Ključne riječi
Java, lambdas, streams, comparison