public abstract class AbstractSynchronizedMutableCollection<T> extends AbstractSynchronizedRichIterable<T> implements MutableCollection<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> coll) |
boolean |
addAllIterable(Iterable<? extends T> iterable) |
<K,V> MutableMap<K,V> |
aggregateBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
<K,V> MutableMap<K,V> |
aggregateInPlaceBy(Function<? super T,? extends K> groupBy,
Function0<? extends V> zeroValueFactory,
Procedure2<? super V,? super T> mutatingAggregator) |
void |
clear() |
<V> MutableCollection<V> |
collect(Function<? super T,? extends V> function) |
MutableBooleanCollection |
collectBoolean(BooleanFunction<? super T> booleanFunction) |
MutableByteCollection |
collectByte(ByteFunction<? super T> byteFunction) |
MutableCharCollection |
collectChar(CharFunction<? super T> charFunction) |
MutableDoubleCollection |
collectDouble(DoubleFunction<? super T> doubleFunction) |
MutableFloatCollection |
collectFloat(FloatFunction<? super T> floatFunction) |
<V> MutableCollection<V> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
MutableIntCollection |
collectInt(IntFunction<? super T> intFunction) |
MutableLongCollection |
collectLong(LongFunction<? super T> longFunction) |
MutableShortCollection |
collectShort(ShortFunction<? super T> shortFunction) |
<P,V> MutableCollection<V> |
collectWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> MutableBag<V> |
countBy(Function<? super T,? extends V> function) |
<V> MutableBag<V> |
countByEach(Function<? super T,? extends Iterable<V>> function) |
<V,P> MutableBag<V> |
countByWith(Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> MutableCollection<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
<V> MutableMultimap<V,T> |
groupBy(Function<? super T,? extends V> function) |
<V> MutableMultimap<V,T> |
groupByEach(Function<? super T,? extends Iterable<V>> function) |
<V> MutableMap<V,T> |
groupByUniqueKey(Function<? super T,? extends V> function) |
<IV,P> IV |
injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
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) |
<P> MutableCollection<T> |
rejectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> coll) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> coll) |
boolean |
retainAllIterable(Iterable<?> iterable) |
MutableCollection<T> |
select(Predicate<? super T> predicate) |
<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) |
<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) |
MutableCollection<T> |
tap(Procedure<? super T> procedure) |
<S> MutableCollection<Pair<T,S>> |
zip(Iterable<S> that) |
MutableCollection<Pair<T,Integer>> |
zipWithIndex() |
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, equals, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, hashCode, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, iterator, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableList, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitasSynchronized, asUnmodifiable, flatCollectWith, newEmpty, toImmutable, with, withAll, without, withoutAllcontains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeIf, size, spliterator, stream, toArray, toArrayaggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getFirst, getLast, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexforEach, forEachWith, forEachWithIndexpublic MutableCollection<T> select(Predicate<? super T> predicate)
select in interface MutableCollection<T>select in interface RichIterable<T>select in class AbstractSynchronizedRichIterable<T>public <S> MutableCollection<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableCollection<T>selectInstancesOf in interface RichIterable<T>selectInstancesOf in class AbstractSynchronizedRichIterable<T>public MutableCollection<T> reject(Predicate<? super T> predicate)
reject in interface MutableCollection<T>reject in interface RichIterable<T>reject in class AbstractSynchronizedRichIterable<T>public <V> MutableCollection<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface MutableCollection<T>flatCollect in interface RichIterable<T>flatCollect in class AbstractSynchronizedRichIterable<T>public <V> MutableCollection<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface RichIterable<T>collect in class AbstractSynchronizedRichIterable<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>collectWith in class AbstractSynchronizedRichIterable<T>public MutableBooleanCollection collectBoolean(BooleanFunction<? super T> booleanFunction)
collectBoolean in interface MutableCollection<T>collectBoolean in interface RichIterable<T>collectBoolean in class AbstractSynchronizedRichIterable<T>public MutableByteCollection collectByte(ByteFunction<? super T> byteFunction)
collectByte in interface MutableCollection<T>collectByte in interface RichIterable<T>collectByte in class AbstractSynchronizedRichIterable<T>public MutableCharCollection collectChar(CharFunction<? super T> charFunction)
collectChar in interface MutableCollection<T>collectChar in interface RichIterable<T>collectChar in class AbstractSynchronizedRichIterable<T>public MutableDoubleCollection collectDouble(DoubleFunction<? super T> doubleFunction)
collectDouble in interface MutableCollection<T>collectDouble in interface RichIterable<T>collectDouble in class AbstractSynchronizedRichIterable<T>public MutableFloatCollection collectFloat(FloatFunction<? super T> floatFunction)
collectFloat in interface MutableCollection<T>collectFloat in interface RichIterable<T>collectFloat in class AbstractSynchronizedRichIterable<T>public MutableIntCollection collectInt(IntFunction<? super T> intFunction)
collectInt in interface MutableCollection<T>collectInt in interface RichIterable<T>collectInt in class AbstractSynchronizedRichIterable<T>public MutableLongCollection collectLong(LongFunction<? super T> longFunction)
collectLong in interface MutableCollection<T>collectLong in interface RichIterable<T>collectLong in class AbstractSynchronizedRichIterable<T>public MutableShortCollection collectShort(ShortFunction<? super T> shortFunction)
collectShort in interface MutableCollection<T>collectShort in interface RichIterable<T>collectShort in class AbstractSynchronizedRichIterable<T>public <P> MutableCollection<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface MutableCollection<T>selectWith in interface RichIterable<T>selectWith in class AbstractSynchronizedRichIterable<T>public <P> MutableCollection<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface MutableCollection<T>rejectWith in interface RichIterable<T>rejectWith in class AbstractSynchronizedRichIterable<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>collectIf in class AbstractSynchronizedRichIterable<T>public MutableCollection<T> tap(Procedure<? super T> procedure)
tap in interface MutableCollection<T>tap in interface RichIterable<T>tap in class AbstractSynchronizedRichIterable<T>public <S> MutableCollection<Pair<T,S>> zip(Iterable<S> that)
zip in interface MutableCollection<T>zip in interface RichIterable<T>zip in class AbstractSynchronizedRichIterable<T>public MutableCollection<Pair<T,Integer>> zipWithIndex()
zipWithIndex in interface MutableCollection<T>zipWithIndex in interface RichIterable<T>zipWithIndex in class AbstractSynchronizedRichIterable<T>public <V> MutableMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy in interface MutableCollection<T>groupBy in interface RichIterable<T>groupBy in class AbstractSynchronizedRichIterable<T>public <V> MutableMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach in interface MutableCollection<T>groupByEach in interface RichIterable<T>groupByEach in class AbstractSynchronizedRichIterable<T>public <V> MutableBag<V> countBy(Function<? super T,? extends V> function)
countBy in interface MutableCollection<T>countBy in interface RichIterable<T>countBy in class AbstractSynchronizedRichIterable<T>public <V,P> MutableBag<V> countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
countByWith in interface MutableCollection<T>countByWith in interface RichIterable<T>countByWith in class AbstractSynchronizedRichIterable<T>public <V> MutableBag<V> countByEach(Function<? super T,? extends Iterable<V>> function)
countByEach in interface MutableCollection<T>countByEach in interface RichIterable<T>countByEach in class AbstractSynchronizedRichIterable<T>public PartitionMutableCollection<T> partition(Predicate<? super T> predicate)
partition in interface MutableCollection<T>partition in interface RichIterable<T>partition in class AbstractSynchronizedRichIterable<T>public <P> PartitionMutableCollection<T> partitionWith(Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface MutableCollection<T>partitionWith in interface RichIterable<T>partitionWith in class AbstractSynchronizedRichIterable<T>public boolean add(T o)
add in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean addAll(Collection<? extends T> coll)
addAll in interface Collection<T>public boolean removeAll(Collection<?> coll)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> coll)
retainAll in interface Collection<T>public void clear()
clear in interface Collection<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 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 <P> Twin<MutableList<T>> selectAndRejectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectAndRejectWith in interface MutableCollection<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 <V> MutableMap<V,T> groupByUniqueKey(Function<? super T,? extends V> function)
groupByUniqueKey in interface MutableCollection<T>groupByUniqueKey in interface RichIterable<T>groupByUniqueKey in class AbstractSynchronizedRichIterable<T>public <K,V> MutableMap<K,V> aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
aggregateInPlaceBy in interface MutableCollection<T>aggregateInPlaceBy in interface RichIterable<T>aggregateInPlaceBy in class AbstractSynchronizedRichIterable<T>public <K,V> MutableMap<K,V> aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
aggregateBy in interface MutableCollection<T>aggregateBy in interface RichIterable<T>aggregateBy in class AbstractSynchronizedRichIterable<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>sumByInt in class AbstractSynchronizedRichIterable<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>sumByFloat in class AbstractSynchronizedRichIterable<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>sumByLong in class AbstractSynchronizedRichIterable<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>sumByDouble in class AbstractSynchronizedRichIterable<T>Copyright © 2004–2022. All rights reserved.