Matching and finding: short-circuit terminals and empty streams
In one line: anyMatch, allMatch and noneMatch stop once decided and have fixed empty-stream results; findFirst and findAny return an Optional.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.