public class StreamUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Predicate<T> | distinctObjects(Function<? super T,?> keyExtractor)Utility method used to filter out objects by some parameter | 
public static <T> Predicate<T> distinctObjects(Function<? super T,?> keyExtractor)
T - the objects typekeyExtractor - the provider of the parameter on which to distinct the objectstrue if the object was already filtered, otherwise falseCopyright © 2016–2025. All rights reserved.