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, retainAll
equals, forEachWithOccurrences, hashCode, occurrencesOf, sizeDistinct
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void addOccurrences(char item, int occurrences)
boolean removeOccurrences(char item, int occurrences)
MutableCharBag select(CharPredicate predicate)
select
in interface CharBag
select
in interface CharIterable
select
in interface MutableCharCollection
MutableCharBag reject(CharPredicate predicate)
reject
in interface CharBag
reject
in interface CharIterable
reject
in interface MutableCharCollection
<V> MutableBag<V> collect(CharToObjectFunction<? extends V> function)
collect
in interface CharBag
collect
in interface CharIterable
collect
in interface MutableCharCollection
MutableCharBag with(char element)
with
in interface MutableCharCollection
MutableCharBag without(char element)
without
in interface MutableCharCollection
MutableCharBag withAll(CharIterable elements)
withAll
in interface MutableCharCollection
MutableCharBag withoutAll(CharIterable elements)
withoutAll
in interface MutableCharCollection
MutableCharBag asUnmodifiable()
asUnmodifiable
in interface MutableCharCollection
MutableCharBag asSynchronized()
asSynchronized
in interface MutableCharCollection
ImmutableCharBag toImmutable()
toImmutable
in interface CharBag
toImmutable
in interface MutableCharCollection
Copyright © 2004–2016. All rights reserved.