CharIterable, PrimitiveIterableMutableCharBag, MutableCharList, MutableCharSetAbstractMutableCharKeySet, AbstractSynchronizedCharCollection, AbstractUnmodifiableCharCollection, CharArrayList, CharHashBag, CharHashSet, SynchronizedCharBag, SynchronizedCharCollection, SynchronizedCharList, SynchronizedCharSet, UnmodifiableCharBag, UnmodifiableCharCollection, UnmodifiableCharList, UnmodifiableCharSetpublic interface MutableCharCollection extends CharIterable
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(char element) |
|
boolean |
addAll(char... source) |
|
boolean |
addAll(CharIterable source) |
|
MutableCharCollection |
asSynchronized() |
|
MutableCharCollection |
asUnmodifiable() |
|
MutableCharIterator |
charIterator() |
Returns a primitive iterator that can be used to iterate over the CharIterable in an
imperative style.
|
void |
clear() |
|
<V> MutableCollection<V> |
collect(CharToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default MutableCharCollection |
newEmpty() |
Creates a new empty mutable version of the same collection type.
|
MutableCharCollection |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
boolean |
remove(char value) |
|
boolean |
removeAll(char... source) |
|
boolean |
removeAll(CharIterable source) |
|
default boolean |
removeIf(CharPredicate predicate) |
|
boolean |
retainAll(char... source) |
|
boolean |
retainAll(CharIterable elements) |
|
MutableCharCollection |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default MutableCharCollection |
tap(CharProcedure procedure) |
|
ImmutableCharCollection |
toImmutable() |
|
MutableCharCollection |
with(char element) |
|
MutableCharCollection |
withAll(CharIterable elements) |
|
MutableCharCollection |
without(char element) |
|
MutableCharCollection |
withoutAll(CharIterable elements) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMutableCharIterator charIterator()
CharIterablecharIterator in interface CharIterableboolean add(char element)
boolean addAll(char... source)
boolean addAll(CharIterable source)
boolean remove(char value)
boolean removeAll(CharIterable source)
boolean removeAll(char... source)
default boolean removeIf(CharPredicate predicate)
boolean retainAll(CharIterable elements)
Collection.retainAll(Collection)boolean retainAll(char... source)
Collection.retainAll(Collection)void clear()
MutableCharCollection select(CharPredicate predicate)
CharIterableselect in interface CharIterableMutableCharCollection reject(CharPredicate predicate)
CharIterablereject in interface CharIterable<V> MutableCollection<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterableMutableCharCollection with(char element)
MutableCharCollection without(char element)
MutableCharCollection withAll(CharIterable elements)
MutableCharCollection withoutAll(CharIterable elements)
MutableCharCollection asUnmodifiable()
MutableCharCollection asSynchronized()
ImmutableCharCollection toImmutable()
default MutableCharCollection tap(CharProcedure procedure)
tap in interface CharIterabledefault MutableCharCollection newEmpty()
Copyright © 2004–2019. All rights reserved.