Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

deepcloudlabs/stream-api-exercises-part2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

Stream API Exercises : Part II

Stream API Exercises : Part II

List<Animal> animals= List.of( new Spider(), new Cat(), new Fish("Free Willy"), new Cat("Tekir"), new Fish("Jaws"), new Spider() );

Q.1) Take a list of wild animals

Q.2) Take a list of pets

Q.3) Find the animal with the highest number of legs

Q.4) Take a list of 100 random animals

Q.5) Find the total number of legs

Q.6) Group the animals by their number of legs

Q.7) Count the number of animals in each specie

Q.8) Count the number of species

For Part I : https://github.com/deepcloudlabs/stream-api-exercises-part1.git

For Part III : https://github.com/deepcloudlabs/stream-api-exercises-part3.git

About

Stream API Exercises : Part II

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /