JavaStreamanyMatch
count

anyMatchStream

allMatch

提供された述語に一致する要素があるかどうかを返します。

構文

stream.anyMatch(predicate)