Skip to content

flaviocr2012/streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streams

This Repo displays the difference between a traditional way of writing and a declarative way using streams. With streams we can save our time and write a direct and clean code.

Dependencies

. Maven 3 or higher . Java 11 or higher

How to run

Just run: mvn clean install

Examples

. ForEach . Map . Filter . Limit . Sorted . Parallel Processing . Collectors . Statistics

Rand Mode

"Streams provide the most convenient and natural way to apply functions to sequences of objects. Streams encourage less mutability. This is sort of related to the functional programming aspect, the kind of programs you write using streams tend to be the kind of programs where you don't modify objects".

Releases

No releases published

Packages

No packages published

Languages