Buy me a coffee
Java
›
Stream
›
anyMatch
anyMatch
Stream
조건을 만족하는 요소가 하나라도 있는지 확인합니다.
문법
stream.anyMatch(predicate)