All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <A,B> Map<A,Collection<B>> |
bucket(Iterable<B> bs,
Function<B,A> f) |
static <T> boolean |
contains(Iterable<? extends T> xs,
Predicate<T> predicate) |
static <T> List<T> |
filter(Iterable<? extends T> xs,
Predicate<T> predicate) |
static <T> void |
filter(Iterable<? extends T> xs,
Predicate<T> predicate,
Collection<? super T> dest) |
static <A,B> List<B> |
flatMap(Iterable<? extends A> as,
Function<A,? extends Iterable<B>> f) |
static <A,B> void |
flatMapTo(Iterable<? extends A> as,
Function<A,? extends Iterable<B>> f,
Collection<? super B> bs) |
static <T> Collection<T> |
flatten(Iterable<? extends Iterable<? extends T>> ts) |
static <A,B> A |
fold(BiFunction<A,B,A> f,
A z,
Iterable<? extends B> xs) |
static <A,B> List<B> |
map(Iterable<? extends A> as,
Function<A,B> f) |
static <A,B> void |
mapTo(Iterable<? extends A> as,
Function<A,B> f,
Collection<? super B> bs) |
static <T> List<List<T>> |
splitToLength(int targetLength,
Iterable<T> ts) |