static <C extends Collection<T>,T,F> C |
CollectionUtils.add(C to,
F o,
Function<? super F,T> f) |
static <C extends Collection<T>,T,F> C |
CollectionUtils.addAll(C to,
Collection<? extends F> from,
Function<? super F,T> f) |
static <T,E> ListMap<T,E> |
ListMap.build(Iterable<E> c,
Function<E,T> f) |
static <T> Iterable<T> |
IteratorUtils.filter(Iterable<T> iterable,
Function<T,Boolean> filter) |
static <T> Iterator<T> |
IteratorUtils.filter(Iterator<T> iter,
Function<T,Boolean> filter) |
static <T,V> T |
CollectionUtils.find(Collection<T> c,
Function<T,Boolean> f) |
static <T,V> T |
CollectionUtils.find(Collection<T> c,
Function<T,V> f,
V match) |
static <T,V> List<T> |
CollectionUtils.findAll(Collection<T> c,
Function<T,Boolean> f) |
static <T,V> List<T> |
CollectionUtils.findAll(Collection<T> c,
Function<T,V> f,
V match) |
static <K,V> HashMap<K,V> |
CollectionUtils.mapKeys(Iterable<K> e,
Function<K,V> f) |
static <K,V> HashMap<K,V> |
CollectionUtils.mapValues(Iterable<V> e,
Function<V,K> f) |
static <M extends Map<T,F>,T,F> M |
CollectionUtils.put(M to,
F o,
Function<? super F,T> f) |
static <M extends Map<T,F>,T,F> M |
CollectionUtils.putAll(M to,
Collection<? extends F> from,
Function<? super F,T> f) |
static <K,V,M extends Map<K,V>> M |
IteratorUtils.putKeys(M map,
Iterator<K> iter,
Function<K,V> func)
adds all elements from iter to map, generating values using function
|
static <K,V,M extends Map<K,V>> M |
IteratorUtils.putValues(M map,
Iterator<V> iter,
Function<V,K> func)
adds all elements from iter to map, generating keys using function
|
static <T> void |
CollectionUtils.remove(Iterable<T> collection,
Function<T,Boolean> function) |
static <F,T> Iterable<T> |
IteratorUtils.transform(Iterable<? extends F> iterable,
Function<F,T> f) |
static <F,T> Iterator<T> |
IteratorUtils.transform(Iterator<? extends F> iter,
Function<F,T> f) |
static <E,T> ArrayList<E> |
CollectionUtils.transformList(Iterable<T> e,
Function<T,E> f) |
static <E,T> HashSet<E> |
CollectionUtils.transformSet(Iterable<T> e,
Function<T,E> f) |
static <E,T> TreeSet<E> |
CollectionUtils.transformSortedSet(Iterable<T> e,
Function<T,E> f) |
static <E,T> List<E> |
CollectionUtils.transformUnmodifiableList(Iterable<T> e,
Function<T,E> f) |
static <E,T> Set<E> |
CollectionUtils.transformUnmodifiableSet(Iterable<T> e,
Function<T,E> f) |
static <E,T> SortedSet<E> |
CollectionUtils.transformUnmodifiableSortedSet(Iterable<T> e,
Function<T,E> f) |