Browsed by
Tag: Stream

Java Stream

Java Stream

Java Stream API has been introduced in Java 8 which majorly focuses on providing various method for operation on Source.  It operates around Source as wrapper making bulk operation fast and in few lines.

Stream bring functional programming to Java and heavily uses lambda expression for its implementation. ParallelStream can be used for multi-threaded operations.

Stream operations can be classified into two sets

  1. Intermediate Operations
  2. Terminal Operations

Read More Read More