Uses of Interface
org.alfresco.util.collections.Function
Packages that use Function
-
Uses of Function in org.alfresco.util.collections
Subinterfaces of Function in org.alfresco.util.collectionsFields in org.alfresco.util.collections declared as FunctionMethods in org.alfresco.util.collections with parameters of type FunctionModifier and TypeMethodDescriptionstatic <T> List<T>
CollectionUtils.filter
(Collection<T> values, Function<? super T, Boolean> filter) Returns a filteredList
of values.static <K,
V> Map<K, V> CollectionUtils.filterKeys
(Map<K, V> map, Function<? super K, ? extends Boolean> filter) This method can be used to filter a Map.static <T> T
CollectionUtils.findFirst
(Collection<T> values, Function<? super T, Boolean> acceptor) Finds the first value for whichacceptor
returnstrue
.static <F,
T> List<T> CollectionUtils.transform
(Collection<F> values, Function<? super F, ? extends T> transformer) static <FK,
FV, TK, TV>
Map<TK,TV> static <F,
T> List<T> static <F,
T> List<T> static <F,
T> List<T> CollectionUtils.transformFlat
(Collection<F> values, Function<? super F, ? extends Collection<? extends T>> transformer) static <F,
T, V> Map<T, V> CollectionUtils.transformKeys
(Map<F, V> map, Function<? super F, ? extends T> transformer) static <F,
T> Map<F, T> CollectionUtils.transformToMap
(Collection<F> values, Function<F, T> transformer)