Skip to content

bytestree/java8-stream-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java 8 Stream API example

Read Java 8 Stream API Tutorial for detail explanation.

This project shows sample code on how to create:

  • Stream of Collection
  • Stream of values
  • Stream of Array
  • Stream from Stream.Builder
  • Infinite Stream

This project shows example of Java 8 Stream API to:

  • Convert List of objects to another List of objects
  • Create new list by filtering elements in List
  • Find element from a List by property of element
  • Find maximum and minimum number from List of Integers
  • Get sum of integers in using reduce operation

About

Java 8 Stream API. Creation and use of Stream.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages