Skip to content

albertguosgp/java-8-exercises

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToUpperCase (map)

Convert elements of a collection to upper case.

FilterCollection (filter)

Filter collection so that only elements with less then 4 characters are returned.

FlatCollection (flatMap)

Flatten multidimensional collection

OldestPerson (max, comparator)

Get oldest person from the collection

Sum (reduce)

Sum all elements of a collection

Kids (filter, map)

Get names of all kids (under age of 18)

PeopleStats (summaryStatistics)

Get people statistics: average age, count, maximum age, minimum age and sum og all ages.

Partitionaing (partitioningBy)

Partition adults and kids

Grouping (groupingBy)

Group people by nationality

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%