@NotThreadSafe public final class UnmodifiableIntBag extends AbstractUnmodifiableIntCollection implements org.eclipse.collections.api.bag.primitive.MutableIntBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(int item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
asSynchronized() |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
asUnmodifiable() |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function) |
boolean |
equals(Object otherBag) |
void |
forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure) |
int |
hashCode() |
int |
occurrencesOf(int item) |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
removeOccurrences(int item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
sizeDistinct() |
org.eclipse.collections.api.bag.primitive.ImmutableIntBag |
toImmutable() |
UnmodifiableIntBag |
with(int element) |
UnmodifiableIntBag |
withAll(org.eclipse.collections.api.IntIterable elements) |
UnmodifiableIntBag |
without(int element) |
UnmodifiableIntBag |
withoutAll(org.eclipse.collections.api.IntIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, intIterator, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringadd, addAll, addAll, clear, intIterator, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic UnmodifiableIntBag with(int element)
with in interface org.eclipse.collections.api.bag.primitive.MutableIntBagwith in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwith in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntBag without(int element)
without in interface org.eclipse.collections.api.bag.primitive.MutableIntBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithout in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntBag withAll(org.eclipse.collections.api.IntIterable elements)
withAll in interface org.eclipse.collections.api.bag.primitive.MutableIntBagwithAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithAll in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntBag withoutAll(org.eclipse.collections.api.IntIterable elements)
withoutAll in interface org.eclipse.collections.api.bag.primitive.MutableIntBagwithoutAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithoutAll in class AbstractUnmodifiableIntCollectionpublic void addOccurrences(int item,
int occurrences)
addOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableIntBagpublic boolean removeOccurrences(int item,
int occurrences)
removeOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableIntBagpublic int sizeDistinct()
sizeDistinct in interface org.eclipse.collections.api.bag.primitive.IntBagpublic int occurrencesOf(int item)
occurrencesOf in interface org.eclipse.collections.api.bag.primitive.IntBagpublic void forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure)
forEachWithOccurrences in interface org.eclipse.collections.api.bag.primitive.IntBagpublic org.eclipse.collections.api.bag.primitive.MutableIntBag select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
select in interface org.eclipse.collections.api.bag.primitive.IntBagselect in interface org.eclipse.collections.api.bag.primitive.MutableIntBagselect in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionselect in interface org.eclipse.collections.api.IntIterableselect in class AbstractUnmodifiableIntCollectionpublic org.eclipse.collections.api.bag.primitive.MutableIntBag reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
reject in interface org.eclipse.collections.api.bag.primitive.IntBagreject in interface org.eclipse.collections.api.bag.primitive.MutableIntBagreject in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionreject in interface org.eclipse.collections.api.IntIterablereject in class AbstractUnmodifiableIntCollectionpublic <V> org.eclipse.collections.api.bag.MutableBag<V> collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.bag.primitive.IntBagcollect in interface org.eclipse.collections.api.bag.primitive.MutableIntBagcollect in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectioncollect in interface org.eclipse.collections.api.IntIterablecollect in class AbstractUnmodifiableIntCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public org.eclipse.collections.api.bag.primitive.MutableIntBag asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.bag.primitive.MutableIntBagasUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionasUnmodifiable in class AbstractUnmodifiableIntCollectionpublic org.eclipse.collections.api.bag.primitive.MutableIntBag asSynchronized()
asSynchronized in interface org.eclipse.collections.api.bag.primitive.MutableIntBagasSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionasSynchronized in class AbstractUnmodifiableIntCollectionpublic org.eclipse.collections.api.bag.primitive.ImmutableIntBag toImmutable()
toImmutable in interface org.eclipse.collections.api.bag.primitive.IntBagtoImmutable in interface org.eclipse.collections.api.bag.primitive.MutableIntBagtoImmutable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectiontoImmutable in class AbstractUnmodifiableIntCollectionCopyright © 2004–2017. All rights reserved.