Java Streams: Eliminate Duplicates in Your List With distinct() Need to trim the fat from your List? Gotta get rid of some unwanted duplicate elements? If so, then have a look at the distinct() method on Stream.