Constructor and Description |
---|
FunctionalIterable(Iterable<T> delegate) |
Modifier and Type | Method and Description |
---|---|
<InType,RetType> |
binaryTransform(Iterable<InType> otherIterable,
BinaryFn<T,InType,RetType> binaryFn) |
FunctionalIterable<T> |
concat(Iterable<Iterable<T>> toConcat) |
FunctionalIterable<T> |
concat(Iterable<T>... toConcat) |
static <T> FunctionalIterable<T> |
create(Iterable<T> delegate) |
FunctionalIterable<T> |
drop(int numToDrop) |
FunctionalIterable<T> |
filter(com.google.common.base.Predicate<T> pred) |
static <T> FunctionalIterable<T> |
fromConcatenation(Iterable<Iterable<T>> delegates) |
static <T> FunctionalIterable<T> |
fromConcatenation(Iterable<T>... delegates) |
Iterator<T> |
iterator() |
<RetType> FunctionalIterable<RetType> |
keep(com.google.common.base.Function<T,RetType> fn) |
FunctionalIterable<T> |
limit(int limit) |
<RetType> FunctionalIterable<RetType> |
transform(com.google.common.base.Function<T,RetType> fn) |
<RetType> FunctionalIterable<RetType> |
transformCat(com.google.common.base.Function<T,Iterable<RetType>> fn) |
<InType1,InType2,RetType> |
trinaryTransform(Iterable<InType1> iterable1,
Iterable<InType2> iterable2,
TrinaryFn<T,InType1,InType2,RetType> trinaryFn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static <T> FunctionalIterable<T> create(Iterable<T> delegate)
public static <T> FunctionalIterable<T> fromConcatenation(Iterable<T>... delegates)
public static <T> FunctionalIterable<T> fromConcatenation(Iterable<Iterable<T>> delegates)
public <RetType> FunctionalIterable<RetType> transform(com.google.common.base.Function<T,RetType> fn)
public <RetType> FunctionalIterable<RetType> transformCat(com.google.common.base.Function<T,Iterable<RetType>> fn)
public <RetType> FunctionalIterable<RetType> keep(com.google.common.base.Function<T,RetType> fn)
public FunctionalIterable<T> filter(com.google.common.base.Predicate<T> pred)
public FunctionalIterable<T> drop(int numToDrop)
public FunctionalIterable<T> limit(int limit)
public FunctionalIterable<T> concat(Iterable<T>... toConcat)
public FunctionalIterable<T> concat(Iterable<Iterable<T>> toConcat)
public <InType,RetType> FunctionalIterable<RetType> binaryTransform(Iterable<InType> otherIterable, BinaryFn<T,InType,RetType> binaryFn)
public <InType1,InType2,RetType> FunctionalIterable<RetType> trinaryTransform(Iterable<InType1> iterable1, Iterable<InType2> iterable2, TrinaryFn<T,InType1,InType2,RetType> trinaryFn)
Copyright © 2011–2017. All rights reserved.