@NotThreadSafe public final class UnmodifiableByteBag extends AbstractUnmodifiableByteCollection implements org.eclipse.collections.api.bag.primitive.MutableByteBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(byte item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
asSynchronized() |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
asUnmodifiable() |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function) |
boolean |
equals(Object otherBag) |
void |
forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.ByteIntProcedure procedure) |
int |
hashCode() |
int |
occurrencesOf(byte item) |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
removeOccurrences(byte item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
int |
sizeDistinct() |
org.eclipse.collections.api.bag.primitive.ImmutableByteBag |
toImmutable() |
UnmodifiableByteBag |
with(byte element) |
UnmodifiableByteBag |
withAll(org.eclipse.collections.api.ByteIterable elements) |
UnmodifiableByteBag |
without(byte element) |
UnmodifiableByteBag |
withoutAll(org.eclipse.collections.api.ByteIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, byteIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, 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, byteIterator, clear, 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 UnmodifiableByteBag with(byte element)
with in interface org.eclipse.collections.api.bag.primitive.MutableByteBagwith in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwith in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteBag without(byte element)
without in interface org.eclipse.collections.api.bag.primitive.MutableByteBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithout in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteBag withAll(org.eclipse.collections.api.ByteIterable elements)
withAll in interface org.eclipse.collections.api.bag.primitive.MutableByteBagwithAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithAll in class AbstractUnmodifiableByteCollectionpublic UnmodifiableByteBag withoutAll(org.eclipse.collections.api.ByteIterable elements)
withoutAll in interface org.eclipse.collections.api.bag.primitive.MutableByteBagwithoutAll in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionwithoutAll in class AbstractUnmodifiableByteCollectionpublic void addOccurrences(byte item,
int occurrences)
addOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableByteBagpublic boolean removeOccurrences(byte item,
int occurrences)
removeOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableByteBagpublic int sizeDistinct()
sizeDistinct in interface org.eclipse.collections.api.bag.primitive.ByteBagpublic int occurrencesOf(byte item)
occurrencesOf in interface org.eclipse.collections.api.bag.primitive.ByteBagpublic void forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.ByteIntProcedure procedure)
forEachWithOccurrences in interface org.eclipse.collections.api.bag.primitive.ByteBagpublic org.eclipse.collections.api.bag.primitive.MutableByteBag select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface org.eclipse.collections.api.bag.primitive.ByteBagselect in interface org.eclipse.collections.api.bag.primitive.MutableByteBagselect in interface org.eclipse.collections.api.ByteIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionselect in class AbstractUnmodifiableByteCollectionpublic org.eclipse.collections.api.bag.primitive.MutableByteBag reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface org.eclipse.collections.api.bag.primitive.ByteBagreject in interface org.eclipse.collections.api.bag.primitive.MutableByteBagreject in interface org.eclipse.collections.api.ByteIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionreject in class AbstractUnmodifiableByteCollectionpublic <V> org.eclipse.collections.api.bag.MutableBag<V> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.bag.primitive.ByteBagcollect in interface org.eclipse.collections.api.bag.primitive.MutableByteBagcollect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectioncollect in class AbstractUnmodifiableByteCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public org.eclipse.collections.api.bag.primitive.MutableByteBag asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.bag.primitive.MutableByteBagasUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionasUnmodifiable in class AbstractUnmodifiableByteCollectionpublic org.eclipse.collections.api.bag.primitive.MutableByteBag asSynchronized()
asSynchronized in interface org.eclipse.collections.api.bag.primitive.MutableByteBagasSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectionasSynchronized in class AbstractUnmodifiableByteCollectionpublic org.eclipse.collections.api.bag.primitive.ImmutableByteBag toImmutable()
toImmutable in interface org.eclipse.collections.api.bag.primitive.ByteBagtoImmutable in interface org.eclipse.collections.api.bag.primitive.MutableByteBagtoImmutable in interface org.eclipse.collections.api.collection.primitive.MutableByteCollectiontoImmutable in class AbstractUnmodifiableByteCollectionCopyright © 2004–2018. All rights reserved.