public abstract class AbstractCollectionAdapter<T> extends Object implements MutableCollection<T>
| Constructor and Description |
|---|
AbstractCollectionAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> collection) |
boolean |
addAllIterable(Iterable<? extends T> iterable) |
boolean |
allSatisfy(Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyIterable<T> |
asLazy() |
RichIterable<RichIterable<T>> |
chunk(int size) |
void |
clear() |
<V> MutableCollection<V> |
collect(Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collect(Function<? super T,? extends V> function,
R target) |
<R extends MutableBooleanCollection> |
collectBoolean(BooleanFunction<? super T> booleanFunction,
R target) |
<R extends MutableByteCollection> |
collectByte(ByteFunction<? super T> byteFunction,
R target) |
<R extends MutableCharCollection> |
collectChar(CharFunction<? super T> charFunction,
R target) |
<R extends MutableDoubleCollection> |
collectDouble(DoubleFunction<? super T> doubleFunction,
R target) |
<R extends MutableFloatCollection> |
collectFloat(FloatFunction<? super T> floatFunction,
R target) |
<V> MutableCollection<V> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V,R extends Collection<V>> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function,
R target) |
<R extends MutableIntCollection> |
collectInt(IntFunction<? super T> intFunction,
R target) |
<R extends MutableLongCollection> |
collectLong(LongFunction<? super T> longFunction,
R target) |
<R extends MutableShortCollection> |
collectShort(ShortFunction<? super T> shortFunction,
R target) |
<P,A,R extends Collection<A>> |
collectWith(Function2<? super T,? super P,? extends A> function,
P parameter,
R targetCollection) |
<P,V> MutableCollection<V> |
collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> collection) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
int |
count(Predicate<? super T> predicate) |
<P> int |
countWith(Predicate2<? super T,? super P> predicate,
P parameter) |
T |
detect(Predicate<? super T> predicate) |
T |
detectIfNone(Predicate<? super T> predicate,
Function0<? extends T> function) |
Optional<T> |
detectOptional(Predicate<? super T> predicate) |
<P> T |
detectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> T |
detectWithIfNone(Predicate2<? super T,? super P> predicate,
P parameter,
Function0<? extends T> function) |
<P> Optional<T> |
detectWithOptional(Predicate2<? super T,? super P> predicate,
P parameter) |
void |
each(Procedure<? super T> procedure) |
<V> MutableCollection<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V,R extends Collection<V>> |
flatCollect(Function<? super T,? extends Iterable<V>> function,
R target) |
<P> void |
forEachWith(Procedure2<? super T,? super P> procedure,
P parameter) |
void |
forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) |
T |
getFirst() |
T |
getLast() |
T |
getOnly() |
<V> MutableMultimap<V,T> |
groupBy(Function<? super T,? extends V> function) |
<V,R extends MutableMultimap<V,T>> |
groupBy(Function<? super T,? extends V> function,
R target) |
<V> MutableMultimap<V,T> |
groupByEach(Function<? super T,? extends Iterable<V>> function) |
<V,R extends MutableMultimap<V,T>> |
groupByEach(Function<? super T,? extends Iterable<V>> function,
R target) |
<V> MutableMap<V,T> |
groupByUniqueKey(Function<? super T,? extends V> function) |
<V,R extends MutableMapIterable<V,T>> |
groupByUniqueKey(Function<? super T,? extends V> function,
R target) |
double |
injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super T> function) |
float |
injectInto(float injectedValue,
FloatObjectToFloatFunction<? super T> function) |
int |
injectInto(int injectedValue,
IntObjectToIntFunction<? super T> function) |
<IV> IV |
injectInto(IV injectedValue,
Function2<? super IV,? super T,? extends IV> function) |
long |
injectInto(long injectedValue,
LongObjectToLongFunction<? super T> function) |
<IV,P> IV |
injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
<R extends Collection<T>> |
into(R target) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
T |
max() |
T |
max(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
maxBy(Function<? super T,? extends V> function) |
T |
min() |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(Function<? super T,? extends V> function) |
boolean |
noneSatisfy(Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
PartitionMutableCollection<T> |
partition(Predicate<? super T> predicate) |
<P> PartitionMutableCollection<T> |
partitionWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableCollection<T> |
reject(Predicate<? super T> predicate) |
<R extends Collection<T>> |
reject(Predicate<? super T> predicate,
R target) |
<P> MutableCollection<T> |
rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
rejectWith(Predicate2<? super T,? super P> predicate,
P parameter,
R targetCollection) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAllIterable(Iterable<?> iterable) |
MutableCollection<T> |
select(Predicate<? super T> predicate) |
<R extends Collection<T>> |
select(Predicate<? super T> predicate,
R target) |
<P> Twin<MutableList<T>> |
selectAndRejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<S> MutableCollection<S> |
selectInstancesOf(Class<S> clazz) |
<P> MutableCollection<T> |
selectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P,R extends Collection<T>> |
selectWith(Predicate2<? super T,? super P> predicate,
P parameter,
R targetCollection) |
int |
size() |
<V> MutableObjectDoubleMap<V> |
sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
<V> MutableObjectDoubleMap<V> |
sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
<V> MutableObjectLongMap<V> |
sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> MutableObjectLongMap<V> |
sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
double |
sumOfDouble(DoubleFunction<? super T> function) |
double |
sumOfFloat(FloatFunction<? super T> function) |
long |
sumOfInt(IntFunction<? super T> function) |
long |
sumOfLong(LongFunction<? super T> function) |
MutableCollection<T> |
tap(Procedure<? super T> procedure) |
Object[] |
toArray() |
<E> E[] |
toArray(E[] a) |
MutableBag<T> |
toBag() |
<K,V> MutableBiMap<K,V> |
toBiMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
MutableList<T> |
toList() |
<K,V> MutableMap<K,V> |
toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
<K,V,R extends Map<K,V>> |
toMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction,
R target) |
MutableSet<T> |
toSet() |
MutableSortedBag<T> |
toSortedBag() |
MutableSortedBag<T> |
toSortedBag(Comparator<? super T> comparator) |
MutableList<T> |
toSortedList(Comparator<? super T> comparator) |
<K,V> MutableSortedMap<K,V> |
toSortedMap(Comparator<? super K> comparator,
Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
<K,V> MutableSortedMap<K,V> |
toSortedMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction) |
MutableSortedSet<T> |
toSortedSet() |
MutableSortedSet<T> |
toSortedSet(Comparator<? super T> comparator) |
String |
toString() |
<S> MutableCollection<Pair<T,S>> |
zip(Iterable<S> that) |
<S,R extends Collection<Pair<T,S>>> |
zip(Iterable<S> that,
R target) |
MutableCollection<Pair<T,Integer>> |
zipWithIndex() |
<R extends Collection<Pair<T,Integer>>> |
zipWithIndex(R target) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregateBy, aggregateInPlaceBy, asSynchronized, asUnmodifiable, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, countBy, countByEach, countByWith, flatCollectWith, newEmpty, toImmutable, with, withAll, without, withoutAllequals, hashCode, parallelStream, removeIf, spliterator, streamaggregateBy, appendString, appendString, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countByEach, countByWith, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, makeString, makeString, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toSortedBagBy, toSortedList, toSortedListBy, toSortedMapBy, toSortedSetByforEachpublic boolean notEmpty()
notEmpty in interface RichIterable<T>public T getFirst()
getFirst in interface RichIterable<T>public T getLast()
getLast in interface RichIterable<T>public T getOnly()
getOnly in interface RichIterable<T>public MutableCollection<T> tap(Procedure<? super T> procedure)
tap in interface MutableCollection<T>tap in interface RichIterable<T>public void each(Procedure<? super T> procedure)
each in interface RichIterable<T>public void forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface InternalIterable<T>public boolean removeIf(Predicate<? super T> predicate)
removeIf in interface MutableCollection<T>public <P> boolean removeIfWith(Predicate2<? super T,? super P> predicate, P parameter)
removeIfWith in interface MutableCollection<T>public T detect(Predicate<? super T> predicate)
detect in interface RichIterable<T>public <P> T detectWith(Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface RichIterable<T>public Optional<T> detectOptional(Predicate<? super T> predicate)
detectOptional in interface RichIterable<T>public <P> Optional<T> detectWithOptional(Predicate2<? super T,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<T>public T detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
detectIfNone in interface RichIterable<T>public <P> T detectWithIfNone(Predicate2<? super T,? super P> predicate, P parameter, Function0<? extends T> function)
detectWithIfNone in interface RichIterable<T>public T min(Comparator<? super T> comparator)
min in interface RichIterable<T>public T max(Comparator<? super T> comparator)
max in interface RichIterable<T>public T min()
min in interface RichIterable<T>public T max()
max in interface RichIterable<T>public <V extends Comparable<? super V>> T minBy(Function<? super T,? extends V> function)
minBy in interface RichIterable<T>public <V extends Comparable<? super V>> T maxBy(Function<? super T,? extends V> function)
maxBy in interface RichIterable<T>public int count(Predicate<? super T> predicate)
count in interface RichIterable<T>public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy in interface RichIterable<T>public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy in interface RichIterable<T>public boolean noneSatisfy(Predicate<? super T> predicate)
noneSatisfy in interface RichIterable<T>public <IV> IV injectInto(IV injectedValue,
Function2<? super IV,? super T,? extends IV> function)
injectInto in interface RichIterable<T>public int injectInto(int injectedValue,
IntObjectToIntFunction<? super T> function)
injectInto in interface RichIterable<T>public long injectInto(long injectedValue,
LongObjectToLongFunction<? super T> function)
injectInto in interface RichIterable<T>public double injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super T> function)
injectInto in interface RichIterable<T>public float injectInto(float injectedValue,
FloatObjectToFloatFunction<? super T> function)
injectInto in interface RichIterable<T>public long sumOfInt(IntFunction<? super T> function)
sumOfInt in interface RichIterable<T>public double sumOfFloat(FloatFunction<? super T> function)
sumOfFloat in interface RichIterable<T>public long sumOfLong(LongFunction<? super T> function)
sumOfLong in interface RichIterable<T>public double sumOfDouble(DoubleFunction<? super T> function)
sumOfDouble in interface RichIterable<T>public <V> MutableObjectLongMap<V> sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
sumByInt in interface MutableCollection<T>sumByInt in interface RichIterable<T>public <V> MutableObjectDoubleMap<V> sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
sumByFloat in interface MutableCollection<T>sumByFloat in interface RichIterable<T>public <V> MutableObjectLongMap<V> sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
sumByLong in interface MutableCollection<T>sumByLong in interface RichIterable<T>public <V> MutableObjectDoubleMap<V> sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
sumByDouble in interface MutableCollection<T>sumByDouble in interface RichIterable<T>public MutableCollection<T> select(Predicate<? super T> predicate)
select in interface MutableCollection<T>select in interface RichIterable<T>public <R extends Collection<T>> R select(Predicate<? super T> predicate, R target)
select in interface RichIterable<T>public MutableCollection<T> reject(Predicate<? super T> predicate)
reject in interface MutableCollection<T>reject in interface RichIterable<T>public <R extends Collection<T>> R reject(Predicate<? super T> predicate, R target)
reject in interface RichIterable<T>public <S> MutableCollection<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableCollection<T>selectInstancesOf in interface RichIterable<T>public <V> MutableCollection<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface RichIterable<T>public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super T> booleanFunction, R target)
collectBoolean in interface RichIterable<T>public <R extends MutableByteCollection> R collectByte(ByteFunction<? super T> byteFunction, R target)
collectByte in interface RichIterable<T>public <R extends MutableCharCollection> R collectChar(CharFunction<? super T> charFunction, R target)
collectChar in interface RichIterable<T>public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super T> doubleFunction, R target)
collectDouble in interface RichIterable<T>public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super T> floatFunction, R target)
collectFloat in interface RichIterable<T>public <R extends MutableIntCollection> R collectInt(IntFunction<? super T> intFunction, R target)
collectInt in interface RichIterable<T>public <R extends MutableLongCollection> R collectLong(LongFunction<? super T> longFunction, R target)
collectLong in interface RichIterable<T>public <R extends MutableShortCollection> R collectShort(ShortFunction<? super T> shortFunction, R target)
collectShort in interface RichIterable<T>public <V,R extends Collection<V>> R collect(Function<? super T,? extends V> function, R target)
collect in interface RichIterable<T>public <V> MutableCollection<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface MutableCollection<T>flatCollect in interface RichIterable<T>public <V,R extends Collection<V>> R flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
flatCollect in interface RichIterable<T>public <V> MutableCollection<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface MutableCollection<T>collectIf in interface RichIterable<T>public <V,R extends Collection<V>> R collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
collectIf in interface RichIterable<T>public <P> Twin<MutableList<T>> selectAndRejectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectAndRejectWith in interface MutableCollection<T>public PartitionMutableCollection<T> partition(Predicate<? super T> predicate)
partition in interface MutableCollection<T>partition in interface RichIterable<T>public <P> PartitionMutableCollection<T> partitionWith(Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface MutableCollection<T>partitionWith in interface RichIterable<T>public int size()
size in interface Collection<T>size in interface RichIterable<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface RichIterable<T>public boolean contains(Object o)
contains in interface Collection<T>contains in interface RichIterable<T>public Object[] toArray()
toArray in interface Collection<T>toArray in interface RichIterable<T>public <E> E[] toArray(E[] a)
toArray in interface Collection<T>toArray in interface RichIterable<T>public boolean add(T o)
add in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<T>containsAll in interface RichIterable<T>public boolean containsAllIterable(Iterable<?> source)
containsAllIterable in interface RichIterable<T>public boolean containsAllArguments(Object... elements)
containsAllArguments in interface RichIterable<T>public boolean addAll(Collection<? extends T> collection)
addAll in interface Collection<T>public boolean addAllIterable(Iterable<? extends T> iterable)
addAllIterable in interface MutableCollection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface MutableCollection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>public boolean retainAllIterable(Iterable<?> iterable)
retainAllIterable in interface MutableCollection<T>public void clear()
clear in interface Collection<T>public <P> void forEachWith(Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<T>public <P> MutableCollection<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface MutableCollection<T>selectWith in interface RichIterable<T>public <P,R extends Collection<T>> R selectWith(Predicate2<? super T,? super P> predicate, P parameter, R targetCollection)
selectWith in interface RichIterable<T>public <P> MutableCollection<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface MutableCollection<T>rejectWith in interface RichIterable<T>public <P,R extends Collection<T>> R rejectWith(Predicate2<? super T,? super P> predicate, P parameter, R targetCollection)
rejectWith in interface RichIterable<T>public <P,V> MutableCollection<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
collectWith in interface MutableCollection<T>collectWith in interface RichIterable<T>public <P,A,R extends Collection<A>> R collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
collectWith in interface RichIterable<T>public <IV,P> IV injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter)
injectIntoWith in interface MutableCollection<T>public <R extends Collection<T>> R into(R target)
into in interface RichIterable<T>public MutableList<T> toList()
toList in interface RichIterable<T>public MutableList<T> toSortedList(Comparator<? super T> comparator)
toSortedList in interface RichIterable<T>public MutableSortedSet<T> toSortedSet()
toSortedSet in interface RichIterable<T>public MutableSortedSet<T> toSortedSet(Comparator<? super T> comparator)
toSortedSet in interface RichIterable<T>public MutableSet<T> toSet()
toSet in interface RichIterable<T>public MutableBag<T> toBag()
toBag in interface RichIterable<T>public MutableSortedBag<T> toSortedBag()
toSortedBag in interface RichIterable<T>public MutableSortedBag<T> toSortedBag(Comparator<? super T> comparator)
toSortedBag in interface RichIterable<T>public <K,V> MutableMap<K,V> toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toMap in interface RichIterable<T>public <K,V,R extends Map<K,V>> R toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction, R target)
toMap in interface RichIterable<T>public <K,V> MutableSortedMap<K,V> toSortedMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toSortedMap in interface RichIterable<T>public <K,V> MutableSortedMap<K,V> toSortedMap(Comparator<? super K> comparator, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toSortedMap in interface RichIterable<T>public <K,V> MutableBiMap<K,V> toBiMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
toBiMap in interface RichIterable<T>public LazyIterable<T> asLazy()
asLazy in interface RichIterable<T>public <P> int countWith(Predicate2<? super T,? super P> predicate, P parameter)
countWith in interface RichIterable<T>public <P> boolean anySatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<T>public <P> boolean allSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<T>public <P> boolean noneSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<T>public String toString()
toString in interface RichIterable<T>toString in class Objectpublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface RichIterable<T>public <V> MutableMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy in interface MutableCollection<T>groupBy in interface RichIterable<T>public <V,R extends MutableMultimap<V,T>> R groupBy(Function<? super T,? extends V> function, R target)
groupBy in interface RichIterable<T>public <V> MutableMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach in interface MutableCollection<T>groupByEach in interface RichIterable<T>public <V,R extends MutableMultimap<V,T>> R groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
groupByEach in interface RichIterable<T>public <V> MutableMap<V,T> groupByUniqueKey(Function<? super T,? extends V> function)
groupByUniqueKey in interface MutableCollection<T>groupByUniqueKey in interface RichIterable<T>public <V,R extends MutableMapIterable<V,T>> R groupByUniqueKey(Function<? super T,? extends V> function, R target)
groupByUniqueKey in interface RichIterable<T>public <S> MutableCollection<Pair<T,S>> zip(Iterable<S> that)
zip in interface MutableCollection<T>zip in interface RichIterable<T>public <S,R extends Collection<Pair<T,S>>> R zip(Iterable<S> that, R target)
zip in interface RichIterable<T>public MutableCollection<Pair<T,Integer>> zipWithIndex()
zipWithIndex in interface MutableCollection<T>zipWithIndex in interface RichIterable<T>public <R extends Collection<Pair<T,Integer>>> R zipWithIndex(R target)
zipWithIndex in interface RichIterable<T>public RichIterable<RichIterable<T>> chunk(int size)
chunk in interface RichIterable<T>Copyright © 2004–2022. All rights reserved.