public abstract class AbstractMutableBagIterable<T> extends AbstractBag<T> implements org.eclipse.collections.api.bag.MutableBagIterable<T>
| Constructor and Description |
|---|
AbstractMutableBagIterable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAll(Collection<? extends T> source) |
boolean |
addAllIterable(Iterable<? extends T> iterable) |
<K,V> org.eclipse.collections.api.map.MutableMap<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.MutableMap<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) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> |
bottomOccurrences(int n) |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> |
chunk(int size) |
T |
detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
T |
detectIfNone(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function0<? extends T> function) |
<P> T |
detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> T |
detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter,
org.eclipse.collections.api.block.function.Function0<? extends T> function) |
T |
getFirst() |
T |
getLast() |
<V> org.eclipse.collections.api.map.MutableMap<V,T> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
T |
max() |
T |
max(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
maxBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
T |
min() |
T |
min(Comparator<? super T> comparator) |
<V extends Comparable<? super V>> |
minBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
removeAll(Collection<?> collection) |
boolean |
retainAll(Collection<?> collection) |
boolean |
retainAllIterable(Iterable<?> iterable) |
<P> org.eclipse.collections.api.tuple.Twin<org.eclipse.collections.api.list.MutableList<T>> |
selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> |
topOccurrences(int n) |
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, count, flatCollect, groupBy, groupByEach, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoWith, reject, rejectWith, select, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toSet, toSortedBag, toSortedBag, toSortedList, toSortedSet, toSortedSet, toStringOfItemToCountappendString, appendString, appendString, asLazy, contains, containsAll, containsAllArguments, containsAllIterable, countWith, forEach, forEachWith, forEachWithIndex, groupByUniqueKey, isEmpty, makeString, makeString, makeString, notEmpty, sumByDouble, sumByFloat, sumByInt, sumByLong, toArray, toArray, toMap, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddOccurrences, groupBy, groupByEach, partition, partitionWith, reject, rejectWith, removeOccurrences, select, selectByOccurrences, selectInstancesOf, selectWith, setOccurrences, tap, toMapOfItemToCount, with, withAll, without, withoutAll, zipWithIndexequals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinct, toImmutable, toStringOfItemToCountasSynchronized, asUnmodifiable, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, flatCollect, injectIntoWith, newEmpty, removeAllIterable, removeIf, removeIfWith, toImmutable, zipadd, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeIf, size, spliterator, stream, toArray, toArrayappendString, appendString, appendString, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, each, flatCollect, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, 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, zipWithIndexpublic boolean addAll(Collection<? extends T> source)
addAll in interface Collection<T>public boolean addAllIterable(Iterable<? extends T> iterable)
addAllIterable in interface org.eclipse.collections.api.collection.MutableCollection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>public boolean retainAllIterable(Iterable<?> iterable)
retainAllIterable in interface org.eclipse.collections.api.collection.MutableCollection<T>public <P> org.eclipse.collections.api.tuple.Twin<org.eclipse.collections.api.list.MutableList<T>> selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
selectAndRejectWith in interface org.eclipse.collections.api.collection.MutableCollection<T>public T getFirst()
getFirst in interface org.eclipse.collections.api.RichIterable<T>public T getLast()
getLast in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.map.MutableMap<V,T> groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
public org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> chunk(int size)
chunk in interface org.eclipse.collections.api.RichIterable<T>public T detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
detect in interface org.eclipse.collections.api.RichIterable<T>detect in class AbstractRichIterable<T>public <P> T detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface org.eclipse.collections.api.RichIterable<T>detectWith in class AbstractRichIterable<T>public T detectIfNone(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function0<? extends T> function)
detectIfNone in interface org.eclipse.collections.api.RichIterable<T>detectIfNone in class AbstractRichIterable<T>public <P> T detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter, org.eclipse.collections.api.block.function.Function0<? extends T> function)
detectWithIfNone in interface org.eclipse.collections.api.RichIterable<T>detectWithIfNone in class AbstractRichIterable<T>public boolean anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
anySatisfy in interface org.eclipse.collections.api.RichIterable<T>anySatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface org.eclipse.collections.api.RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public boolean allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
allSatisfy in interface org.eclipse.collections.api.RichIterable<T>allSatisfy in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public boolean noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
noneSatisfy in interface org.eclipse.collections.api.RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public T min()
min in interface org.eclipse.collections.api.RichIterable<T>min in class AbstractRichIterable<T>public T min(Comparator<? super T> comparator)
min in interface org.eclipse.collections.api.RichIterable<T>min in class AbstractRichIterable<T>public <V extends Comparable<? super V>> T minBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
minBy in interface org.eclipse.collections.api.RichIterable<T>minBy in class AbstractRichIterable<T>public T max()
max in interface org.eclipse.collections.api.RichIterable<T>max in class AbstractRichIterable<T>public T max(Comparator<? super T> comparator)
max in interface org.eclipse.collections.api.RichIterable<T>max in class AbstractRichIterable<T>public <V extends Comparable<? super V>> T maxBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
maxBy in interface org.eclipse.collections.api.RichIterable<T>maxBy in class AbstractRichIterable<T>public <K,V> org.eclipse.collections.api.map.MutableMap<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.MutableMap<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 org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> topOccurrences(int n)
public org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> bottomOccurrences(int n)
Copyright © 2004–2017. All rights reserved.