O'Reilly logo
  • Umesh Rawat thinks this is interesting:

allMatch

From

Cover of Java 8 in Action: Lambdas, streams, and functional-style programming

Note

why doesnt allMatch need to process entire stream?