anyMatch(), allMatch() and noneMatch()

One common task when working with streams in Java is to perform boolean operations on its elements. To accomplish this, Java provides three methods: allMatch(), anyMatch(), and noneMatch(). The allMatch(), noneMatch(), and