JDK-8193641: Stream::distinct should check if Stream is already distinct
Backport of Java 8/9 java.util.stream API to Java 6/7 and Android
Brought to you by:
stefan-zobel
"Stream::distinct should check if Stream is already distinct"
https://bugs.openjdk.java.net/browse/JDK-8193641
See also http://richardstartin.uk/spliterator-characteristics-and-performance/
Anonymous