Java 8: Streams – Part 1

What is Streams? Stream is a new abstract layer introduced in Java 8, It represents a sequence of objects from a source, which supports aggregate operations. To understand better, lets take basic sql function distinct. SELECT DISTINCT(USER_TYPE_ FROM...