| Package | Description |
|---|---|
| de.flapdoodle.guava |
| Modifier and Type | Method and Description |
|---|---|
static <R,V extends Enum<V>> |
Folds.asEnumSetFold(Class<V> enumType,
com.google.common.base.Function<R,? extends Collection<? extends V>> valueTransformation) |
static <R,V> Foldleft<R,Iterable<? extends V>> |
Folds.asIterableFold(com.google.common.base.Function<R,? extends Iterable<? extends V>> valueTransformation) |
static <R,V> Foldleft<R,com.google.common.collect.ImmutableList<? extends V>> |
Folds.asListFold(com.google.common.base.Function<R,? extends Collection<? extends V>> valueTransformation) |
static <R,V> Foldleft<R,com.google.common.collect.ImmutableSet<? extends V>> |
Folds.asSetFold(com.google.common.base.Function<R,? extends Collection<? extends V>> valueTransformation) |
| Modifier and Type | Method and Description |
|---|---|
static <S,D> D |
Folds.foldLeft(Iterable<? extends S> collection,
Foldleft<? super S,D> foldFunction,
D leftValue) |
static <K extends Enum<K>,V,T> |
Transformations.map(Class<K> enumType,
Collection<T> collection,
com.google.common.base.Function<? super T,K> keyTransformation,
Foldleft<? super T,V> valueFold) |
static <K,V,T> Map<K,V> |
Transformations.map(Collection<T> collection,
com.google.common.base.Function<? super T,K> keyTransformation,
Foldleft<? super T,V> valueFold) |
static <T> com.google.common.collect.ImmutableList<T> |
Merger.merge(Iterable<? extends T> left,
Iterable<? extends T> right,
com.google.common.base.Equivalence<? super T> matcher,
Foldleft<? super T,T> fold) |
static <S,D,V,M> Map<D,M> |
MapTransformations.transform(Map<S,V> map,
com.google.common.base.Function<? super S,D> keytransformation,
Foldleft<? super V,M> valuetransformation) |
Copyright © 2014. All Rights Reserved.