Back
Close

Search data from a Stream

Harinath
3,941 views

Search for the data by using the methods of Stream classes... findFirst findAny anyMatch allMatch noneMatch

Methods ending with "Match" returns boolean value. Methods starting with "find" returns return Optional (we discuss Optional in further playgrounds)

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io