public abstract class AbstractImmutableBag<T> extends AbstractImmutableBagIterable<T> implements org.eclipse.collections.api.bag.ImmutableBag<T>
| Constructor and Description |
|---|
AbstractImmutableBag() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.collections.api.list.ImmutableList<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) |
org.eclipse.collections.api.bag.primitive.ImmutableBooleanBag |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableByteBag |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableCharBag |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableDoubleBag |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableFloatBag |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableIntBag |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableLongBag |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction) |
org.eclipse.collections.api.bag.primitive.ImmutableShortBag |
collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction) |
<P,V> org.eclipse.collections.api.bag.ImmutableBag<V> |
collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter) |
<V> org.eclipse.collections.api.map.ImmutableMap<V,T> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
org.eclipse.collections.api.bag.ImmutableBag<T> |
newWithoutAll(Iterable<? extends T> elements) |
org.eclipse.collections.api.partition.bag.PartitionImmutableBag<T> |
partition(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> org.eclipse.collections.api.partition.bag.PartitionImmutableBag<T> |
partitionWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> org.eclipse.collections.api.bag.ImmutableBag<T> |
rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<P> org.eclipse.collections.api.bag.ImmutableBag<T> |
selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.bag.ImmutableBag<T> |
tap(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
org.eclipse.collections.api.bag.ImmutableBag<T> |
toImmutable() |
org.eclipse.collections.api.list.ImmutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> |
topOccurrences(int n) |
add, addAll, aggregateBy, aggregateInPlaceBy, clear, remove, removeAll, retainAllcollect, 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, toStringOfItemToCountallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, contains, containsAll, containsAllArguments, containsAllIterable, countWith, detect, detectIfNone, detectWith, detectWithIfNone, forEach, forEachWith, forEachWithIndex, groupByUniqueKey, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, sumByDouble, sumByFloat, sumByInt, sumByLong, toArray, toArray, toMap, toSortedBagBy, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcollect, collectIf, flatCollect, groupBy, groupByEach, newWith, newWithAll, newWithout, reject, select, selectByOccurrences, selectInstancesOf, zip, zipWithIndextoMapOfItemToCountequals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinct, toStringOfItemToCountaggregateBy, aggregateInPlaceByallSatisfy, 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 org.eclipse.collections.api.bag.ImmutableBag<T> newWithoutAll(Iterable<? extends T> elements)
public org.eclipse.collections.api.bag.ImmutableBag<T> toImmutable()
public org.eclipse.collections.api.bag.ImmutableBag<T> tap(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure)
tap in interface org.eclipse.collections.api.bag.Bag<T>tap in interface org.eclipse.collections.api.bag.ImmutableBag<T>tap in interface org.eclipse.collections.api.bag.ImmutableBagIterable<T>tap in interface org.eclipse.collections.api.collection.ImmutableCollection<T>tap in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.bag.ImmutableBag<T> selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface org.eclipse.collections.api.bag.Bag<T>selectWith in interface org.eclipse.collections.api.bag.ImmutableBag<T>selectWith in interface org.eclipse.collections.api.bag.ImmutableBagIterable<T>selectWith in interface org.eclipse.collections.api.bag.UnsortedBag<T>selectWith in interface org.eclipse.collections.api.collection.ImmutableCollection<T>selectWith in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.bag.ImmutableBag<T> rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface org.eclipse.collections.api.bag.Bag<T>rejectWith in interface org.eclipse.collections.api.bag.ImmutableBag<T>rejectWith in interface org.eclipse.collections.api.bag.ImmutableBagIterable<T>rejectWith in interface org.eclipse.collections.api.bag.UnsortedBag<T>rejectWith in interface org.eclipse.collections.api.collection.ImmutableCollection<T>rejectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.partition.bag.PartitionImmutableBag<T> partition(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
partition in interface org.eclipse.collections.api.bag.Bag<T>partition in interface org.eclipse.collections.api.bag.ImmutableBag<T>partition in interface org.eclipse.collections.api.bag.ImmutableBagIterable<T>partition in interface org.eclipse.collections.api.bag.UnsortedBag<T>partition in interface org.eclipse.collections.api.collection.ImmutableCollection<T>partition in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.partition.bag.PartitionImmutableBag<T> partitionWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface org.eclipse.collections.api.bag.Bag<T>partitionWith in interface org.eclipse.collections.api.bag.ImmutableBag<T>partitionWith in interface org.eclipse.collections.api.bag.ImmutableBagIterable<T>partitionWith in interface org.eclipse.collections.api.collection.ImmutableCollection<T>partitionWith in interface org.eclipse.collections.api.RichIterable<T>public <P,V> org.eclipse.collections.api.bag.ImmutableBag<V> collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function, P parameter)
collectWith in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectWith in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectWith in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableBooleanBag collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction)
collectBoolean in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectBoolean in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectBoolean in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectBoolean in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableByteBag collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction)
collectByte in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectByte in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectByte in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectByte in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableCharBag collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction)
collectChar in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectChar in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectChar in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectChar in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableDoubleBag collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction)
collectDouble in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectDouble in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectDouble in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectDouble in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableFloatBag collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction)
collectFloat in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectFloat in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectFloat in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectFloat in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableIntBag collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction)
collectInt in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectInt in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectInt in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectInt in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableLongBag collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction)
collectLong in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectLong in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectLong in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectLong in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.ImmutableShortBag collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction)
collectShort in interface org.eclipse.collections.api.bag.ImmutableBag<T>collectShort in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectShort in interface org.eclipse.collections.api.collection.ImmutableCollection<T>collectShort in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.list.ImmutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> topOccurrences(int n)
public org.eclipse.collections.api.list.ImmutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> bottomOccurrences(int n)
public <V> org.eclipse.collections.api.map.ImmutableMap<V,T> groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
Copyright © 2004–2017. All rights reserved.