public final class MultiReaderHashBag<T> extends AbstractMultiReaderMutableCollection<T> implements Externalizable, org.eclipse.collections.api.bag.MutableBag<T>
| Constructor and Description |
|---|
MultiReaderHashBag()
Deprecated.
Empty default constructor used for serialization.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(T item,
int occurrences) |
org.eclipse.collections.api.bag.MutableBag<T> |
asSynchronized() |
org.eclipse.collections.api.bag.MutableBag<T> |
asUnmodifiable() |
org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> |
bottomOccurrences(int count) |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> |
chunk(int size) |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction) |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction) |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction) |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction) |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction) |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction) |
org.eclipse.collections.api.bag.primitive.MutableLongBag |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction) |
org.eclipse.collections.api.bag.primitive.MutableShortBag |
collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction) |
<P,V> org.eclipse.collections.api.bag.MutableBag<V> |
collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends V> function,
P parameter) |
boolean |
equals(Object o) |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
void |
forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> procedure) |
<V> org.eclipse.collections.api.multimap.bag.MutableBagMultimap<V,T> |
groupBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<V> org.eclipse.collections.api.multimap.bag.MutableBagMultimap<V,T> |
groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<V> org.eclipse.collections.api.map.MutableMap<V,T> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
int |
hashCode() |
static <T> MultiReaderHashBag<T> |
newBag() |
static <T> MultiReaderHashBag<T> |
newBag(int capacity) |
static <T> MultiReaderHashBag<T> |
newBag(Iterable<T> iterable) |
static <T> MultiReaderHashBag<T> |
newBagWith(T... elements) |
org.eclipse.collections.api.bag.MutableBag<T> |
newEmpty() |
int |
occurrencesOf(Object item) |
org.eclipse.collections.api.partition.bag.PartitionMutableBag<T> |
partition(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> org.eclipse.collections.api.partition.bag.PartitionMutableBag<T> |
partitionWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
void |
readExternal(ObjectInput in) |
org.eclipse.collections.api.bag.MutableBag<T> |
reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> org.eclipse.collections.api.bag.MutableBag<T> |
rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
removeOccurrences(Object item,
int occurrences) |
org.eclipse.collections.api.bag.MutableBag<T> |
select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
org.eclipse.collections.api.bag.MutableBag<T> |
selectByOccurrences(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
<S> org.eclipse.collections.api.bag.MutableBag<S> |
selectInstancesOf(Class<S> clazz) |
<P> org.eclipse.collections.api.bag.MutableBag<T> |
selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
setOccurrences(T item,
int occurrences) |
int |
sizeDistinct() |
org.eclipse.collections.api.bag.MutableBag<T> |
tap(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
org.eclipse.collections.api.bag.ImmutableBag<T> |
toImmutable() |
org.eclipse.collections.api.map.MutableMap<T,Integer> |
toMapOfItemToCount() |
org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> |
topOccurrences(int count) |
String |
toStringOfItemToCount() |
org.eclipse.collections.api.bag.MutableBag<T> |
with(T element) |
org.eclipse.collections.api.bag.MutableBag<T> |
withAll(Iterable<? extends T> elements) |
org.eclipse.collections.api.bag.MutableBag<T> |
without(T element) |
org.eclipse.collections.api.bag.MutableBag<T> |
withoutAll(Iterable<? extends T> elements) |
void |
withReadLockAndDelegate(org.eclipse.collections.api.block.procedure.Procedure<org.eclipse.collections.api.bag.MutableBag<T>> procedure) |
void |
withWriteLockAndDelegate(org.eclipse.collections.api.block.procedure.Procedure<org.eclipse.collections.api.bag.MutableBag<T>> procedure) |
void |
writeExternal(ObjectOutput out) |
<S> org.eclipse.collections.api.bag.MutableBag<org.eclipse.collections.api.tuple.Pair<T,S>> |
zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<T,Integer>> |
zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
add, addAll, addAllIterable, aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, clear, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, forEach, forEachWith, forEachWithIndex, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoWith, isEmpty, iterator, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, remove, removeAll, removeAllIterable, removeIf, removeIfWith, retainAll, retainAllIterable, select, selectAndRejectWith, 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, zipWithIndexaddAllIterable, aggregateBy, aggregateInPlaceBy, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWithadd, addAll, clear, contains, containsAll, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArrayallSatisfy, 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, zipWithIndex@Deprecated public MultiReaderHashBag()
public static <T> MultiReaderHashBag<T> newBag()
public static <T> MultiReaderHashBag<T> newBag(int capacity)
public static <T> MultiReaderHashBag<T> newBag(Iterable<T> iterable)
public static <T> MultiReaderHashBag<T> newBagWith(T... elements)
public void withReadLockAndDelegate(org.eclipse.collections.api.block.procedure.Procedure<org.eclipse.collections.api.bag.MutableBag<T>> procedure)
public void withWriteLockAndDelegate(org.eclipse.collections.api.block.procedure.Procedure<org.eclipse.collections.api.bag.MutableBag<T>> procedure)
public org.eclipse.collections.api.bag.MutableBag<T> asSynchronized()
public org.eclipse.collections.api.bag.MutableBag<T> asUnmodifiable()
public org.eclipse.collections.api.bag.ImmutableBag<T> toImmutable()
public void addOccurrences(T item, int occurrences)
addOccurrences in interface org.eclipse.collections.api.bag.MutableBagIterable<T>public boolean removeOccurrences(Object item, int occurrences)
removeOccurrences in interface org.eclipse.collections.api.bag.MutableBagIterable<T>public boolean setOccurrences(T item, int occurrences)
setOccurrences in interface org.eclipse.collections.api.bag.MutableBagIterable<T>public int occurrencesOf(Object item)
occurrencesOf in interface org.eclipse.collections.api.bag.Bag<T>public int sizeDistinct()
sizeDistinct in interface org.eclipse.collections.api.bag.Bag<T>public <V> org.eclipse.collections.api.bag.MutableBag<V> collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collect in interface org.eclipse.collections.api.bag.MutableBag<T>collect in interface org.eclipse.collections.api.bag.UnsortedBag<T>collect in interface org.eclipse.collections.api.collection.MutableCollection<T>collect in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableBooleanBag collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction)
collectBoolean in interface org.eclipse.collections.api.bag.MutableBag<T>collectBoolean in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectBoolean in interface org.eclipse.collections.api.collection.MutableCollection<T>collectBoolean in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableByteBag collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction)
collectByte in interface org.eclipse.collections.api.bag.MutableBag<T>collectByte in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectByte in interface org.eclipse.collections.api.collection.MutableCollection<T>collectByte in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableCharBag collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction)
collectChar in interface org.eclipse.collections.api.bag.MutableBag<T>collectChar in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectChar in interface org.eclipse.collections.api.collection.MutableCollection<T>collectChar in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableDoubleBag collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction)
collectDouble in interface org.eclipse.collections.api.bag.MutableBag<T>collectDouble in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectDouble in interface org.eclipse.collections.api.collection.MutableCollection<T>collectDouble in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableFloatBag collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction)
collectFloat in interface org.eclipse.collections.api.bag.MutableBag<T>collectFloat in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectFloat in interface org.eclipse.collections.api.collection.MutableCollection<T>collectFloat in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableIntBag collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction)
collectInt in interface org.eclipse.collections.api.bag.MutableBag<T>collectInt in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectInt in interface org.eclipse.collections.api.collection.MutableCollection<T>collectInt in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableLongBag collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction)
collectLong in interface org.eclipse.collections.api.bag.MutableBag<T>collectLong in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectLong in interface org.eclipse.collections.api.collection.MutableCollection<T>collectLong in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.primitive.MutableShortBag collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction)
collectShort in interface org.eclipse.collections.api.bag.MutableBag<T>collectShort in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectShort in interface org.eclipse.collections.api.collection.MutableCollection<T>collectShort in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.bag.MutableBag<V> flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
flatCollect in interface org.eclipse.collections.api.bag.MutableBag<T>flatCollect in interface org.eclipse.collections.api.bag.UnsortedBag<T>flatCollect in interface org.eclipse.collections.api.collection.MutableCollection<T>flatCollect in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> topOccurrences(int count)
public org.eclipse.collections.api.list.MutableList<org.eclipse.collections.api.tuple.primitive.ObjectIntPair<T>> bottomOccurrences(int count)
public <V> org.eclipse.collections.api.bag.MutableBag<V> collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collectIf in interface org.eclipse.collections.api.bag.MutableBag<T>collectIf in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectIf in interface org.eclipse.collections.api.collection.MutableCollection<T>collectIf in interface org.eclipse.collections.api.RichIterable<T>public <P,V> org.eclipse.collections.api.bag.MutableBag<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.MutableBag<T>collectWith in interface org.eclipse.collections.api.bag.UnsortedBag<T>collectWith in interface org.eclipse.collections.api.collection.MutableCollection<T>collectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.MutableBag<T> newEmpty()
public org.eclipse.collections.api.bag.MutableBag<T> reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
reject in interface org.eclipse.collections.api.bag.Bag<T>reject in interface org.eclipse.collections.api.bag.MutableBag<T>reject in interface org.eclipse.collections.api.bag.MutableBagIterable<T>reject in interface org.eclipse.collections.api.bag.UnsortedBag<T>reject in interface org.eclipse.collections.api.collection.MutableCollection<T>reject in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.bag.MutableBag<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.MutableBag<T>rejectWith in interface org.eclipse.collections.api.bag.MutableBagIterable<T>rejectWith in interface org.eclipse.collections.api.bag.UnsortedBag<T>rejectWith in interface org.eclipse.collections.api.collection.MutableCollection<T>rejectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.MutableBag<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.MutableBag<T>tap in interface org.eclipse.collections.api.bag.MutableBagIterable<T>tap in interface org.eclipse.collections.api.collection.MutableCollection<T>tap in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.MutableBag<T> select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
select in interface org.eclipse.collections.api.bag.Bag<T>select in interface org.eclipse.collections.api.bag.MutableBag<T>select in interface org.eclipse.collections.api.bag.MutableBagIterable<T>select in interface org.eclipse.collections.api.bag.UnsortedBag<T>select in interface org.eclipse.collections.api.collection.MutableCollection<T>select in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.bag.MutableBag<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.MutableBag<T>selectWith in interface org.eclipse.collections.api.bag.MutableBagIterable<T>selectWith in interface org.eclipse.collections.api.bag.UnsortedBag<T>selectWith in interface org.eclipse.collections.api.collection.MutableCollection<T>selectWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.MutableBag<T> selectByOccurrences(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
selectByOccurrences in interface org.eclipse.collections.api.bag.Bag<T>selectByOccurrences in interface org.eclipse.collections.api.bag.MutableBag<T>selectByOccurrences in interface org.eclipse.collections.api.bag.MutableBagIterable<T>selectByOccurrences in interface org.eclipse.collections.api.bag.UnsortedBag<T>public <S> org.eclipse.collections.api.bag.MutableBag<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface org.eclipse.collections.api.bag.Bag<T>selectInstancesOf in interface org.eclipse.collections.api.bag.MutableBag<T>selectInstancesOf in interface org.eclipse.collections.api.bag.MutableBagIterable<T>selectInstancesOf in interface org.eclipse.collections.api.bag.UnsortedBag<T>selectInstancesOf in interface org.eclipse.collections.api.collection.MutableCollection<T>selectInstancesOf in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.partition.bag.PartitionMutableBag<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.MutableBag<T>partition in interface org.eclipse.collections.api.bag.MutableBagIterable<T>partition in interface org.eclipse.collections.api.bag.UnsortedBag<T>partition in interface org.eclipse.collections.api.collection.MutableCollection<T>partition in interface org.eclipse.collections.api.RichIterable<T>public <P> org.eclipse.collections.api.partition.bag.PartitionMutableBag<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.MutableBag<T>partitionWith in interface org.eclipse.collections.api.bag.MutableBagIterable<T>partitionWith in interface org.eclipse.collections.api.collection.MutableCollection<T>partitionWith in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.bag.MutableBag<T> withAll(Iterable<? extends T> elements)
public org.eclipse.collections.api.bag.MutableBag<T> withoutAll(Iterable<? extends T> elements)
public org.eclipse.collections.api.map.MutableMap<T,Integer> toMapOfItemToCount()
public String toStringOfItemToCount()
toStringOfItemToCount in interface org.eclipse.collections.api.bag.Bag<T>public <V> org.eclipse.collections.api.multimap.bag.MutableBagMultimap<V,T> groupBy(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
groupBy in interface org.eclipse.collections.api.bag.Bag<T>groupBy in interface org.eclipse.collections.api.bag.MutableBag<T>groupBy in interface org.eclipse.collections.api.bag.MutableBagIterable<T>groupBy in interface org.eclipse.collections.api.bag.UnsortedBag<T>groupBy in interface org.eclipse.collections.api.collection.MutableCollection<T>groupBy in interface org.eclipse.collections.api.RichIterable<T>public <V> org.eclipse.collections.api.multimap.bag.MutableBagMultimap<V,T> groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
groupByEach in interface org.eclipse.collections.api.bag.Bag<T>groupByEach in interface org.eclipse.collections.api.bag.MutableBag<T>groupByEach in interface org.eclipse.collections.api.bag.MutableBagIterable<T>groupByEach in interface org.eclipse.collections.api.bag.UnsortedBag<T>groupByEach in interface org.eclipse.collections.api.collection.MutableCollection<T>groupByEach 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)
@Deprecated public <S> org.eclipse.collections.api.bag.MutableBag<org.eclipse.collections.api.tuple.Pair<T,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface org.eclipse.collections.api.bag.MutableBag<T>zip in interface org.eclipse.collections.api.bag.UnsortedBag<T>zip in interface org.eclipse.collections.api.collection.MutableCollection<T>zip in interface org.eclipse.collections.api.RichIterable<T>@Deprecated public org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<T,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface org.eclipse.collections.api.bag.Bag<T>zipWithIndex in interface org.eclipse.collections.api.bag.MutableBag<T>zipWithIndex in interface org.eclipse.collections.api.bag.MutableBagIterable<T>zipWithIndex in interface org.eclipse.collections.api.bag.UnsortedBag<T>zipWithIndex in interface org.eclipse.collections.api.collection.MutableCollection<T>zipWithIndex in interface org.eclipse.collections.api.RichIterable<T>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 void forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> procedure)
forEachWithOccurrences in interface org.eclipse.collections.api.bag.Bag<T>public boolean equals(Object o)
public int hashCode()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2004–2017. All rights reserved.