public class UnmodifiableCharBag extends AbstractUnmodifiableCharCollection implements MutableCharBag
| Constructor and Description |
|---|
UnmodifiableCharBag(MutableCharBag bag) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, charIterator, chunk, clear, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, reduce, reduceIfEmpty, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringselectDuplicates, tapadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAlltoStringOfItemToCountallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic UnmodifiableCharBag(MutableCharBag bag)
public UnmodifiableCharBag with(char element)
with in interface MutableCharBagwith in interface MutableCharCollectionwith in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharBag without(char element)
without in interface MutableCharBagwithout in interface MutableCharCollectionwithout in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharBag withAll(CharIterable elements)
withAll in interface MutableCharBagwithAll in interface MutableCharCollectionwithAll in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharBag withoutAll(CharIterable elements)
withoutAll in interface MutableCharBagwithoutAll in interface MutableCharCollectionwithoutAll in class AbstractUnmodifiableCharCollectionpublic void addOccurrences(char item,
int occurrences)
addOccurrences in interface MutableCharBagpublic boolean removeOccurrences(char item,
int occurrences)
removeOccurrences in interface MutableCharBagpublic int sizeDistinct()
sizeDistinct in interface CharBagpublic int occurrencesOf(char item)
occurrencesOf in interface CharBagpublic void forEachWithOccurrences(CharIntProcedure procedure)
forEachWithOccurrences in interface CharBagpublic MutableCharBag selectByOccurrences(IntPredicate predicate)
selectByOccurrences in interface CharBagselectByOccurrences in interface MutableCharBagpublic MutableCharSet selectUnique()
selectUnique in interface CharBagselectUnique in interface MutableCharBagpublic MutableList<CharIntPair> topOccurrences(int count)
topOccurrences in interface CharBagtopOccurrences in interface MutableCharBagpublic MutableList<CharIntPair> bottomOccurrences(int count)
bottomOccurrences in interface CharBagbottomOccurrences in interface MutableCharBagpublic MutableCharBag select(CharPredicate predicate)
select in interface CharBagselect in interface MutableCharBagselect in interface CharIterableselect in interface MutableCharCollectionselect in class AbstractUnmodifiableCharCollectionpublic MutableCharBag reject(CharPredicate predicate)
reject in interface CharBagreject in interface MutableCharBagreject in interface CharIterablereject in interface MutableCharCollectionreject in class AbstractUnmodifiableCharCollectionpublic <V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharBagcollect in interface MutableCharBagcollect in interface CharIterablecollect in interface MutableCharCollectioncollect in class AbstractUnmodifiableCharCollectionpublic boolean equals(Object otherBag)
public int hashCode()
public MutableCharBag asUnmodifiable()
asUnmodifiable in interface MutableCharBagasUnmodifiable in interface MutableCharCollectionasUnmodifiable in class AbstractUnmodifiableCharCollectionpublic MutableCharBag asSynchronized()
asSynchronized in interface MutableCharBagasSynchronized in interface MutableCharCollectionasSynchronized in class AbstractUnmodifiableCharCollectionpublic ImmutableCharBag toImmutable()
toImmutable in interface CharBagtoImmutable in interface MutableCharBagtoImmutable in interface MutableCharCollectiontoImmutable in class AbstractUnmodifiableCharCollectionpublic MutableCharBag newEmpty()
newEmpty in interface MutableCharBagnewEmpty in interface MutableCharCollectionCopyright © 2004–2022. All rights reserved.