CharIterable
, CharList
, MutableCharCollection
, OrderedCharIterable
, PrimitiveIterable
, ReversibleCharIterable
CharArrayList
, SynchronizedCharList
, UnmodifiableCharList
public 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.
|
MutableCharList |
distinct() |
|
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) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf
add, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAll
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
void 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)
CharIterable
select
in interface CharIterable
select
in interface CharList
select
in interface MutableCharCollection
select
in interface OrderedCharIterable
select
in interface ReversibleCharIterable
MutableCharList reject(CharPredicate predicate)
CharIterable
reject
in interface CharIterable
reject
in interface CharList
reject
in interface MutableCharCollection
reject
in interface OrderedCharIterable
reject
in interface ReversibleCharIterable
MutableCharList with(char element)
with
in interface MutableCharCollection
MutableCharList without(char element)
without
in interface MutableCharCollection
MutableCharList withAll(CharIterable elements)
withAll
in interface MutableCharCollection
MutableCharList withoutAll(CharIterable elements)
withoutAll
in interface MutableCharCollection
default MutableCharList tap(CharProcedure procedure)
tap
in interface CharIterable
tap
in interface CharList
tap
in interface MutableCharCollection
<V> MutableList<V> collect(CharToObjectFunction<? extends V> function)
CharIterable
collect
in interface CharIterable
collect
in interface CharList
collect
in interface MutableCharCollection
collect
in interface OrderedCharIterable
collect
in interface ReversibleCharIterable
MutableCharList reverseThis()
MutableCharList toReversed()
toReversed
in interface CharList
toReversed
in interface ReversibleCharIterable
MutableCharList distinct()
distinct
in interface CharList
distinct
in interface ReversibleCharIterable
MutableCharList sortThis()
MutableCharList asUnmodifiable()
asUnmodifiable
in interface MutableCharCollection
MutableCharList asSynchronized()
asSynchronized
in interface MutableCharCollection
ImmutableCharList toImmutable()
toImmutable
in interface CharList
toImmutable
in interface MutableCharCollection
MutableCharList subList(int fromIndex, int toIndex)
Copyright © 2004–2017. All rights reserved.