public class AbstractUnmodifiableMutableCollection<T> extends Object implements MutableCollection<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> c) |
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) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
LazyIterable<T> |
asLazy() |
MutableCollection<T> |
asSynchronized() |
MutableCollection<T> |
asUnmodifiable() |
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) |
MutableBooleanCollection |
collectBoolean(BooleanFunction<? super T> booleanFunction) |
<R extends MutableBooleanCollection> |
collectBoolean(BooleanFunction<? super T> booleanFunction,
R target) |
MutableByteCollection |
collectByte(ByteFunction<? super T> byteFunction) |
<R extends MutableByteCollection> |
collectByte(ByteFunction<? super T> byteFunction,
R target) |
MutableCharCollection |
collectChar(CharFunction<? super T> charFunction) |
<R extends MutableCharCollection> |
collectChar(CharFunction<? super T> charFunction,
R target) |
MutableDoubleCollection |
collectDouble(DoubleFunction<? super T> doubleFunction) |
<R extends MutableDoubleCollection> |
collectDouble(DoubleFunction<? super T> doubleFunction,
R target) |
MutableFloatCollection |
collectFloat(FloatFunction<? super T> floatFunction) |
<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) |
MutableIntCollection |
collectInt(IntFunction<? super T> intFunction) |
<R extends MutableIntCollection> |
collectInt(IntFunction<? super T> intFunction,
R target) |
MutableLongCollection |
collectLong(LongFunction<? super T> longFunction) |
<R extends MutableLongCollection> |
collectLong(LongFunction<? super T> longFunction,
R target) |
MutableShortCollection |
collectShort(ShortFunction<? super T> shortFunction) |
<R extends MutableShortCollection> |
collectShort(ShortFunction<? super T> shortFunction,
R target) |
<P,A> MutableCollection<A> |
collectWith(Function2<? super T,? super P,? extends A> function,
P parameter) |
<P,A,R extends Collection<A>> |
collectWith(Function2<? super T,? super P,? extends A> function,
P parameter,
R targetCollection) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
containsAllArguments(Object... elements) |
boolean |
containsAllIterable(Iterable<?> source) |
boolean |
containsAny(Collection<?> source) |
boolean |
containsAnyIterable(Iterable<?> source) |
boolean |
containsNone(Collection<?> source) |
boolean |
containsNoneIterable(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) |
<R extends MutableBooleanCollection> |
flatCollectBoolean(Function<? super T,? extends BooleanIterable> function,
R target) |
<R extends MutableByteCollection> |
flatCollectByte(Function<? super T,? extends ByteIterable> function,
R target) |
<R extends MutableCharCollection> |
flatCollectChar(Function<? super T,? extends CharIterable> function,
R target) |
<R extends MutableDoubleCollection> |
flatCollectDouble(Function<? super T,? extends DoubleIterable> function,
R target) |
<R extends MutableFloatCollection> |
flatCollectFloat(Function<? super T,? extends FloatIterable> function,
R target) |
<R extends MutableIntCollection> |
flatCollectInt(Function<? super T,? extends IntIterable> function,
R target) |
<R extends MutableLongCollection> |
flatCollectLong(Function<? super T,? extends LongIterable> function,
R target) |
<R extends MutableShortCollection> |
flatCollectShort(Function<? super T,? extends ShortIterable> 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() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
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) |
MutableCollection<T> |
newEmpty() |
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<?> c) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> c) |
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() |
<S> S[] |
toArray(S[] a) |
MutableBag<T> |
toBag() |
<NK,NV> MutableBiMap<NK,NV> |
toBiMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
ImmutableCollection<T> |
toImmutable() |
MutableList<T> |
toList() |
<NK,NV> MutableMap<NK,NV> |
toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
<NK,NV,R extends Map<NK,NV>> |
toMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction,
R target) |
MutableSet<T> |
toSet() |
MutableSortedBag<T> |
toSortedBag() |
MutableSortedBag<T> |
toSortedBag(Comparator<? super T> comparator) |
MutableList<T> |
toSortedList() |
MutableList<T> |
toSortedList(Comparator<? super T> comparator) |
<NK,NV> MutableSortedMap<NK,NV> |
toSortedMap(Comparator<? super NK> comparator,
Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
<NK,NV> MutableSortedMap<NK,NV> |
toSortedMap(Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
<KK extends Comparable<? super KK>,NK,NV> |
toSortedMapBy(Function<? super NK,KK> sortBy,
Function<? super T,? extends NK> keyFunction,
Function<? super T,? extends NV> valueFunction) |
MutableSortedSet<T> |
toSortedSet() |
MutableSortedSet<T> |
toSortedSet(Comparator<? super T> comparator) |
String |
toString() |
MutableCollection<T> |
with(T element) |
MutableCollection<T> |
withAll(Iterable<? extends T> elements) |
MutableCollection<T> |
without(T element) |
MutableCollection<T> |
withoutAll(Iterable<? extends T> elements) |
<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, countBy, countByEach, countByWith, flatCollectWithequals, hashCode, parallelStream, removeIf, spliterator, streamaggregateBy, containsBy, countBy, countByEach, countByWith, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, 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, toSortedListBy, toSortedSetByforEachpublic 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 <S> S[] toArray(S[] 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<?> c)
containsAll in interface Collection<T>containsAll in interface RichIterable<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>public void clear()
clear in interface Collection<T>public boolean addAllIterable(Iterable<? extends T> iterable)
addAllIterable in interface MutableCollection<T>public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface MutableCollection<T>public boolean retainAllIterable(Iterable<?> iterable)
retainAllIterable in interface MutableCollection<T>public MutableCollection<T> asUnmodifiable()
asUnmodifiable in interface MutableCollection<T>public MutableCollection<T> asSynchronized()
asSynchronized in interface MutableCollection<T>public ImmutableCollection<T> toImmutable()
toImmutable in interface MutableCollection<T>public LazyIterable<T> asLazy()
asLazy 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 <P> void forEachWith(Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<T>public boolean containsAny(Collection<?> source)
containsAny in interface RichIterable<T>public boolean containsNone(Collection<?> source)
containsNone in interface RichIterable<T>public boolean containsAnyIterable(Iterable<?> source)
containsAnyIterable in interface RichIterable<T>public boolean containsNoneIterable(Iterable<?> source)
containsNoneIterable 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 notEmpty()
notEmpty in interface RichIterable<T>public MutableCollection<T> newEmpty()
newEmpty in interface MutableCollection<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> 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 <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 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 <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> 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 <S> MutableCollection<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableCollection<T>selectInstancesOf in interface RichIterable<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 <V> MutableCollection<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface RichIterable<T>public MutableBooleanCollection collectBoolean(BooleanFunction<? super T> booleanFunction)
collectBoolean in interface MutableCollection<T>collectBoolean in interface RichIterable<T>public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super T> booleanFunction, R target)
collectBoolean in interface RichIterable<T>public <R extends MutableBooleanCollection> R flatCollectBoolean(Function<? super T,? extends BooleanIterable> function, R target)
flatCollectBoolean in interface RichIterable<T>public MutableByteCollection collectByte(ByteFunction<? super T> byteFunction)
collectByte in interface MutableCollection<T>collectByte in interface RichIterable<T>public <R extends MutableByteCollection> R collectByte(ByteFunction<? super T> byteFunction, R target)
collectByte in interface RichIterable<T>public <R extends MutableByteCollection> R flatCollectByte(Function<? super T,? extends ByteIterable> function, R target)
flatCollectByte in interface RichIterable<T>public MutableCharCollection collectChar(CharFunction<? super T> charFunction)
collectChar in interface MutableCollection<T>collectChar in interface RichIterable<T>public <R extends MutableCharCollection> R collectChar(CharFunction<? super T> charFunction, R target)
collectChar in interface RichIterable<T>public <R extends MutableCharCollection> R flatCollectChar(Function<? super T,? extends CharIterable> function, R target)
flatCollectChar in interface RichIterable<T>public MutableDoubleCollection collectDouble(DoubleFunction<? super T> doubleFunction)
collectDouble in interface MutableCollection<T>collectDouble in interface RichIterable<T>public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super T> doubleFunction, R target)
collectDouble in interface RichIterable<T>public <R extends MutableDoubleCollection> R flatCollectDouble(Function<? super T,? extends DoubleIterable> function, R target)
flatCollectDouble in interface RichIterable<T>public MutableFloatCollection collectFloat(FloatFunction<? super T> floatFunction)
collectFloat in interface MutableCollection<T>collectFloat in interface RichIterable<T>public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super T> floatFunction, R target)
collectFloat in interface RichIterable<T>public <R extends MutableFloatCollection> R flatCollectFloat(Function<? super T,? extends FloatIterable> function, R target)
flatCollectFloat in interface RichIterable<T>public MutableIntCollection collectInt(IntFunction<? super T> intFunction)
collectInt in interface MutableCollection<T>collectInt in interface RichIterable<T>public <R extends MutableIntCollection> R collectInt(IntFunction<? super T> intFunction, R target)
collectInt in interface RichIterable<T>public <R extends MutableIntCollection> R flatCollectInt(Function<? super T,? extends IntIterable> function, R target)
flatCollectInt in interface RichIterable<T>public MutableLongCollection collectLong(LongFunction<? super T> longFunction)
collectLong in interface MutableCollection<T>collectLong in interface RichIterable<T>public <R extends MutableLongCollection> R collectLong(LongFunction<? super T> longFunction, R target)
collectLong in interface RichIterable<T>public <R extends MutableLongCollection> R flatCollectLong(Function<? super T,? extends LongIterable> function, R target)
flatCollectLong in interface RichIterable<T>public MutableShortCollection collectShort(ShortFunction<? super T> shortFunction)
collectShort in interface MutableCollection<T>collectShort in interface RichIterable<T>public <R extends MutableShortCollection> R collectShort(ShortFunction<? super T> shortFunction, R target)
collectShort in interface RichIterable<T>public <R extends MutableShortCollection> R flatCollectShort(Function<? super T,? extends ShortIterable> function, R target)
flatCollectShort 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 <P,A> MutableCollection<A> collectWith(Function2<? super T,? super P,? extends A> 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 <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 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 <P> int countWith(Predicate2<? super T,? super P> predicate, P parameter)
countWith in interface RichIterable<T>public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy in interface RichIterable<T>public <P> boolean anySatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<T>public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy in interface RichIterable<T>public <P> boolean allSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<T>public boolean noneSatisfy(Predicate<? super T> predicate)
noneSatisfy in interface RichIterable<T>public <P> boolean noneSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith 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 <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()
toSortedList 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 <NK,NV> MutableMap<NK,NV> toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
toMap in interface RichIterable<T>public <NK,NV,R extends Map<NK,NV>> R toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction, R target)
toMap in interface RichIterable<T>public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
toSortedMap in interface RichIterable<T>public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
toSortedMap in interface RichIterable<T>public <KK extends Comparable<? super KK>,NK,NV> MutableSortedMap<NK,NV> toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
toSortedMapBy in interface RichIterable<T>public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
toBiMap in interface RichIterable<T>public String toString()
toString in interface RichIterable<T>toString in class Objectpublic String makeString()
makeString in interface RichIterable<T>public String makeString(String separator)
makeString in interface RichIterable<T>public String makeString(String start, String separator, String end)
makeString in interface RichIterable<T>public void appendString(Appendable appendable)
appendString in interface RichIterable<T>public void appendString(Appendable appendable, String separator)
appendString in interface RichIterable<T>public 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>public MutableCollection<T> with(T element)
with in interface MutableCollection<T>public MutableCollection<T> without(T element)
without in interface MutableCollection<T>public MutableCollection<T> withAll(Iterable<? extends T> elements)
withAll in interface MutableCollection<T>public MutableCollection<T> withoutAll(Iterable<? extends T> elements)
withoutAll in interface MutableCollection<T>Copyright © 2004–2022. All rights reserved.