JavaStreamallMatch

Returns whether all elements match the provided predicate.

Syntax

stream.allMatch(predicate)