CharIterable, CharList, MutableCharCollection, OrderedCharIterable, PrimitiveIterable, ReversibleCharIterableCharArrayList, SynchronizedCharList, UnmodifiableCharListpublic interface MutableCharList extends MutableCharCollection, CharList
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addAllAtIndex(int index,
char... source) |
|
boolean |
addAllAtIndex(int index,
CharIterable source) |
|
void |
addAtIndex(int index,
char element) |
|
MutableCharList |
asSynchronized() |
|
MutableCharList |
asUnmodifiable() |
|
<V> MutableList<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 <V> MutableList<V> |
collectWithIndex(CharIntToObjectFunction<? extends V> function) |
Returns a new MutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
MutableCharList |
distinct() |
|
default MutableCharList |
newEmpty() |
Creates a new empty mutable version of the same List type.
|
MutableCharList |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
char |
removeAtIndex(int index) |
|
MutableCharList |
reverseThis() |
|
MutableCharList |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
char |
set(int index,
char element) |
|
MutableCharList |
sortThis() |
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableCharList |
subList(int fromIndex,
int toIndex) |
|
default MutableCharList |
tap(CharProcedure procedure) |
|
ImmutableCharList |
toImmutable() |
Returns an immutable copy of this list.
|
MutableCharList |
toReversed() |
|
MutableCharList |
with(char element) |
|
MutableCharList |
withAll(CharIterable elements) |
|
MutableCharList |
without(char element) |
|
MutableCharList |
withoutAll(CharIterable elements) |
|
default <T> MutableList<CharObjectPair<T>> |
zip(Iterable<T> list) |
Returns a
MutableList formed from this MutableCharList and a ListIterable by
combining corresponding elements in pairs. |
default MutableList<CharCharPair> |
zipChar(CharIterable iterable) |
Returns a
MutableList formed from this MutableCharList and another CharList by
combining corresponding elements in pairs. |
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, toSortedListbinarySearch, dotProduct, equals, get, hashCode, lastIndexOfadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, removeIf, retainAll, retainAllcollectWithIndex, forEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexvoid addAtIndex(int index,
char element)
boolean addAllAtIndex(int index,
char... source)
boolean addAllAtIndex(int index,
CharIterable source)
char removeAtIndex(int index)
char set(int index,
char element)
MutableCharList select(CharPredicate predicate)
CharIterableselect in interface CharIterableselect in interface CharListselect in interface MutableCharCollectionselect in interface OrderedCharIterableselect in interface ReversibleCharIterableMutableCharList reject(CharPredicate predicate)
CharIterablereject in interface CharIterablereject in interface CharListreject in interface MutableCharCollectionreject in interface OrderedCharIterablereject in interface ReversibleCharIterableMutableCharList with(char element)
with in interface MutableCharCollectionMutableCharList without(char element)
without in interface MutableCharCollectionMutableCharList withAll(CharIterable elements)
withAll in interface MutableCharCollectionMutableCharList withoutAll(CharIterable elements)
withoutAll in interface MutableCharCollectiondefault MutableCharList tap(CharProcedure procedure)
tap in interface CharIterabletap in interface CharListtap in interface MutableCharCollection<V> MutableList<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterablecollect in interface CharListcollect in interface MutableCharCollectioncollect in interface OrderedCharIterablecollect in interface ReversibleCharIterabledefault <V> MutableList<V> collectWithIndex(CharIntToObjectFunction<? extends V> function)
collectWithIndex in interface CharListcollectWithIndex in interface OrderedCharIterablecollectWithIndex in interface ReversibleCharIterableMutableCharList reverseThis()
MutableCharList toReversed()
toReversed in interface CharListtoReversed in interface ReversibleCharIterableMutableCharList distinct()
distinct in interface CharListdistinct in interface ReversibleCharIterableMutableCharList sortThis()
MutableCharList asUnmodifiable()
asUnmodifiable in interface MutableCharCollectionMutableCharList asSynchronized()
asSynchronized in interface MutableCharCollectionImmutableCharList toImmutable()
toImmutable in interface CharListtoImmutable in interface MutableCharCollectionMutableCharList subList(int fromIndex, int toIndex)
subList in interface CharListList.subList(int fromIndex, int toIndex)default MutableList<CharCharPair> zipChar(CharIterable iterable)
MutableList formed from this MutableCharList and another CharList by
combining corresponding elements in pairs. If one of the two CharLists is longer than the other, its
remaining elements are ignored.default <T> MutableList<CharObjectPair<T>> zip(Iterable<T> list)
MutableList formed from this MutableCharList and a ListIterable by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.default MutableCharList newEmpty()
newEmpty in interface MutableCharCollectionCopyright © 2004–2019. All rights reserved.