Skip to content

This repository help you about lambda and Stream Implementation in your project with best practises

Notifications You must be signed in to change notification settings

gagan2u2002/Lambda-Streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambdas and Stream Why ?

Streams:

  • Streams brings functional Programming in Java and are supported in JAVA 8

  • Stream Pipeline consist of Source followed by ZERO or more intermediate operation with terminal operation.

Source ----->Filter ----->Sort ---->Map ----->Collect

Source

  • Streams can be created from Collections , Lists , Sets , ints , longs , doubles , arrays and lines of a file

Stream operations are either intermediate or terminal

Intermediate operations :

  • filter, map or sort reaturn a stream so we can chain multiple intermediate operations.

Terminal operations :

  • forEach, collect or reduce are either void or return a non-stream result.

About

This repository help you about lambda and Stream Implementation in your project with best practises

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages