public interface MutableCharBag extends MutableCharCollection, CharBag
| Modifier and Type | Method and Description |
|---|---|
void |
addOccurrences(char item,
int occurrences) |
MutableCharBag |
asSynchronized() |
MutableCharBag |
asUnmodifiable() |
<V> MutableBag<V> |
collect(CharToObjectFunction<? extends V> function) |
MutableCharBag |
reject(CharPredicate predicate) |
boolean |
removeOccurrences(char item,
int occurrences) |
MutableCharBag |
select(CharPredicate predicate) |
ImmutableCharBag |
toImmutable()
Returns an immutable copy of this bag.
|
MutableCharBag |
with(char element) |
MutableCharBag |
withAll(CharIterable elements) |
MutableCharBag |
without(char element) |
MutableCharBag |
withoutAll(CharIterable elements) |
add, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAllequals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinctallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid addOccurrences(char item,
int occurrences)
boolean removeOccurrences(char item,
int occurrences)
MutableCharBag select(CharPredicate predicate)
select in interface CharBagselect in interface CharIterableselect in interface MutableCharCollectionMutableCharBag reject(CharPredicate predicate)
reject in interface CharBagreject in interface CharIterablereject in interface MutableCharCollection<V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharBagcollect in interface CharIterablecollect in interface MutableCharCollectionMutableCharBag with(char element)
with in interface MutableCharCollectionMutableCharBag without(char element)
without in interface MutableCharCollectionMutableCharBag withAll(CharIterable elements)
withAll in interface MutableCharCollectionMutableCharBag withoutAll(CharIterable elements)
withoutAll in interface MutableCharCollectionMutableCharBag asUnmodifiable()
asUnmodifiable in interface MutableCharCollectionMutableCharBag asSynchronized()
asSynchronized in interface MutableCharCollectionImmutableCharBag toImmutable()
toImmutable in interface CharBagtoImmutable in interface MutableCharCollectionCopyright © 2004–2017. All rights reserved.