@NotThreadSafe public final class UnmodifiableCharBag extends AbstractUnmodifiableCharCollection implements org.eclipse.collections.api.bag.primitive.MutableCharBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(char item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
asSynchronized() |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
asUnmodifiable() |
<V> org.eclipse.collections.api.bag.MutableBag<V> |
collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function) |
boolean |
equals(Object otherBag) |
void |
forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.CharIntProcedure procedure) |
int |
hashCode() |
int |
occurrencesOf(char item) |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
boolean |
removeOccurrences(char item,
int occurrences) |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
int |
sizeDistinct() |
org.eclipse.collections.api.bag.primitive.ImmutableCharBag |
toImmutable() |
UnmodifiableCharBag |
with(char element) |
UnmodifiableCharBag |
withAll(org.eclipse.collections.api.CharIterable elements) |
UnmodifiableCharBag |
without(char element) |
UnmodifiableCharBag |
withoutAll(org.eclipse.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, charIterator, 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, charIterator, 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 UnmodifiableCharBag with(char element)
with in interface org.eclipse.collections.api.bag.primitive.MutableCharBagwith in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwith in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharBag without(char element)
without in interface org.eclipse.collections.api.bag.primitive.MutableCharBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithout in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharBag withAll(org.eclipse.collections.api.CharIterable elements)
withAll in interface org.eclipse.collections.api.bag.primitive.MutableCharBagwithAll in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithAll in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharBag withoutAll(org.eclipse.collections.api.CharIterable elements)
withoutAll in interface org.eclipse.collections.api.bag.primitive.MutableCharBagwithoutAll in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithoutAll in class AbstractUnmodifiableCharCollectionpublic void addOccurrences(char item,
int occurrences)
addOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableCharBagpublic boolean removeOccurrences(char item,
int occurrences)
removeOccurrences in interface org.eclipse.collections.api.bag.primitive.MutableCharBagpublic int sizeDistinct()
sizeDistinct in interface org.eclipse.collections.api.bag.primitive.CharBagpublic int occurrencesOf(char item)
occurrencesOf in interface org.eclipse.collections.api.bag.primitive.CharBagpublic void forEachWithOccurrences(org.eclipse.collections.api.block.procedure.primitive.CharIntProcedure procedure)
forEachWithOccurrences in interface org.eclipse.collections.api.bag.primitive.CharBagpublic org.eclipse.collections.api.bag.primitive.MutableCharBag select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface org.eclipse.collections.api.bag.primitive.CharBagselect in interface org.eclipse.collections.api.bag.primitive.MutableCharBagselect in interface org.eclipse.collections.api.CharIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionselect in class AbstractUnmodifiableCharCollectionpublic org.eclipse.collections.api.bag.primitive.MutableCharBag reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface org.eclipse.collections.api.bag.primitive.CharBagreject in interface org.eclipse.collections.api.bag.primitive.MutableCharBagreject in interface org.eclipse.collections.api.CharIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionreject in class AbstractUnmodifiableCharCollectionpublic <V> org.eclipse.collections.api.bag.MutableBag<V> collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.bag.primitive.CharBagcollect in interface org.eclipse.collections.api.bag.primitive.MutableCharBagcollect in interface org.eclipse.collections.api.CharIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectioncollect in class AbstractUnmodifiableCharCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public org.eclipse.collections.api.bag.primitive.MutableCharBag asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.bag.primitive.MutableCharBagasUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionasUnmodifiable in class AbstractUnmodifiableCharCollectionpublic org.eclipse.collections.api.bag.primitive.MutableCharBag asSynchronized()
asSynchronized in interface org.eclipse.collections.api.bag.primitive.MutableCharBagasSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionasSynchronized in class AbstractUnmodifiableCharCollectionpublic org.eclipse.collections.api.bag.primitive.ImmutableCharBag toImmutable()
toImmutable in interface org.eclipse.collections.api.bag.primitive.CharBagtoImmutable in interface org.eclipse.collections.api.bag.primitive.MutableCharBagtoImmutable in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectiontoImmutable in class AbstractUnmodifiableCharCollectionCopyright © 2004–2018. All rights reserved.