Tehničko veleučilište u Zagrebu · Zagreb

Java lambdas and streams – are they better than for loops?

sažetak izlaganja sa skupa

sažetak izlaganja sa skupa

Java lambdas and streams – are they better than for loops?

Vrsta prilog sa skupa (u zborniku)
Tip sažetak izlaganja sa skupa
Godina 2017
Nadređena publikacija 4th International Community Java Conference in Croatia - Javantura v4
Stranice str. 1-28
Status objavljeno

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