distinct abstract method
Returns a stream consisting of the distinct elements (according to Object.==) of this stream.
Example
final unique = GenericStream.of([1, 2, 2, 3, 3, 3])
.distinct();
Implementation
GenericStream<T> distinct();
Returns a stream consisting of the distinct elements (according to Object.==) of this stream.
final unique = GenericStream.of([1, 2, 2, 3, 3, 3])
.distinct();
GenericStream<T> distinct();