@ThreadSafe public final class SynchronizedCharBag extends AbstractSynchronizedCharCollection implements org.eclipse.collections.api.bag.primitive.MutableCharBag
MutableCharBag. It is imperative that the user manually synchronize on the collection when iterating over it using the
CharIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveBag.stg.
MutableCharBag.asSynchronized(),
MutableBag.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(char item,
int occurrences) |
org.eclipse.collections.api.LazyCharIterable |
asLazy() |
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() |
SynchronizedCharBag |
with(char element) |
SynchronizedCharBag |
withAll(org.eclipse.collections.api.CharIterable elements) |
SynchronizedCharBag |
without(char element) |
SynchronizedCharBag |
withoutAll(org.eclipse.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, 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, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic SynchronizedCharBag with(char element)
with in interface org.eclipse.collections.api.bag.primitive.MutableCharBagwith in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwith in class AbstractSynchronizedCharCollectionpublic SynchronizedCharBag without(char element)
without in interface org.eclipse.collections.api.bag.primitive.MutableCharBagwithout in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithout in class AbstractSynchronizedCharCollectionpublic SynchronizedCharBag 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 AbstractSynchronizedCharCollectionpublic SynchronizedCharBag 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 AbstractSynchronizedCharCollectionpublic 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 AbstractSynchronizedCharCollectionpublic 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 AbstractSynchronizedCharCollectionpublic <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 AbstractSynchronizedCharCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public org.eclipse.collections.api.LazyCharIterable asLazy()
asLazy in interface org.eclipse.collections.api.CharIterableasLazy in class AbstractSynchronizedCharCollectionpublic 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 AbstractSynchronizedCharCollectionpublic 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 AbstractSynchronizedCharCollectionpublic 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 AbstractSynchronizedCharCollectionCopyright © 2004–2018. All rights reserved.