Java Streams: Identify Common Characteristics in Lists With allMatch() Sometimes you gotta know if all the objects in your List share a common trait. That's when you should use allMatch() with Streams.