Geek Culture
Published in

Geek Culture

What a Beautiful Stream! Photo by Sprocket2cog from Wikimedia Commons

Java Streams: noneMatch

Finding stuff in a list, or a stream is an easy job.

The Java 8 Stream API grants us a few boolean-returning methods that do it just right. They all require a predicate.

noneMatch

The noneMatch() method returns true if none of the stream items fulfils the predicate. It may not be necessary to inquire…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daniele Quero, PhD

A professional developer with passion for game developing and skill-growing. A former Nuclear Physics Researcher who changed his life to pursue his dreams