public abstract class AbstractImmutableCollection<T> extends AbstractRichIterable<T> implements org.eclipse.collections.api.collection.ImmutableCollection<T>, Collection<T>
| Constructor and Description |
|---|
AbstractImmutableCollection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> collection) |
<K,V> org.eclipse.collections.api.map.ImmutableMap<K,V> |
aggregateBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory,
org.eclipse.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
<K,V> org.eclipse.collections.api.map.ImmutableMap<K,V> |
aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory,
org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator) |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> |
chunk(int size) |
void |
clear() |
<V> org.eclipse.collections.api.map.ImmutableMap<V,T> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, flatCollect, forEach, forEachWith, forEachWithIndex, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, flatCollect, groupBy, groupByEach, newWith, newWithAll, newWithout, newWithoutAll, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, tap, zip, zipWithIndexallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexforEach, forEachWith, forEachWithIndexforEach, iterator, spliteratorcontains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeIf, size, spliterator, stream, toArray, toArraypublic <K,V> org.eclipse.collections.api.map.ImmutableMap<K,V> aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy, org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory, org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator)
public <K,V> org.eclipse.collections.api.map.ImmutableMap<K,V> aggregateBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K> groupBy, org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory, org.eclipse.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator)
public <V> org.eclipse.collections.api.map.ImmutableMap<V,T> groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
public boolean add(T t)
add in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean addAll(Collection<? extends T> collection)
addAll in interface Collection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>public void clear()
clear in interface Collection<T>Copyright © 2004–2018. All rights reserved.