For empty stream, anyMatch() method will always return false;

package com.logicbig.example.intstream;
import java.util.stream.IntStream;
public class AnyMatchExample2 {
public static void main(String... args) {
IntStream stream = IntStream.empty();
boolean b = stream.anyMatch(i -> true);
System.out.println(b);
}
}
Output
false