@NotThreadSafe public final class UnmodifiableCharList extends AbstractUnmodifiableCharCollection implements MutableCharList
Modifier and Type | Method and Description |
---|---|
boolean |
addAllAtIndex(int index,
char... source) |
boolean |
addAllAtIndex(int index,
CharIterable source) |
void |
addAtIndex(int index,
char element) |
LazyCharIterable |
asReversed() |
MutableCharList |
asSynchronized() |
MutableCharList |
asUnmodifiable() |
int |
binarySearch(char value) |
<V> MutableList<V> |
collect(CharToObjectFunction<? extends V> function) |
MutableCharList |
distinct() |
long |
dotProduct(CharList list) |
boolean |
equals(Object otherList)
Follows the same general contract as
List.equals(Object) . |
void |
forEachWithIndex(CharIntProcedure procedure) |
char |
get(int index) |
char |
getFirst() |
char |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode() . |
int |
indexOf(char value) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectCharIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(char value) |
MutableCharList |
reject(CharPredicate predicate) |
char |
removeAtIndex(int index) |
MutableCharList |
reverseThis() |
MutableCharList |
select(CharPredicate 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) |
ImmutableCharList |
toImmutable()
Returns an immutable copy of this list.
|
MutableCharList |
toReversed() |
UnmodifiableCharList |
with(char element) |
UnmodifiableCharList |
withAll(CharIterable elements) |
UnmodifiableCharList |
without(char element) |
UnmodifiableCharList |
withoutAll(CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, charIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
add, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAll
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
public char getFirst()
getFirst
in interface OrderedCharIterable
public char getLast()
getLast
in interface ReversibleCharIterable
public int indexOf(char value)
indexOf
in interface OrderedCharIterable
public int lastIndexOf(char value)
lastIndexOf
in interface CharList
public void addAtIndex(int index, char element)
addAtIndex
in interface MutableCharList
public boolean addAllAtIndex(int index, char... source)
addAllAtIndex
in interface MutableCharList
public boolean addAllAtIndex(int index, CharIterable source)
addAllAtIndex
in interface MutableCharList
public char removeAtIndex(int index)
removeAtIndex
in interface MutableCharList
public char set(int index, char element)
set
in interface MutableCharList
public UnmodifiableCharList with(char element)
with
in interface MutableCharCollection
with
in interface MutableCharList
with
in class AbstractUnmodifiableCharCollection
public UnmodifiableCharList without(char element)
without
in interface MutableCharCollection
without
in interface MutableCharList
without
in class AbstractUnmodifiableCharCollection
public UnmodifiableCharList withAll(CharIterable elements)
withAll
in interface MutableCharCollection
withAll
in interface MutableCharList
withAll
in class AbstractUnmodifiableCharCollection
public UnmodifiableCharList withoutAll(CharIterable elements)
withoutAll
in interface MutableCharCollection
withoutAll
in interface MutableCharList
withoutAll
in class AbstractUnmodifiableCharCollection
public MutableCharList select(CharPredicate predicate)
select
in interface CharIterable
select
in interface MutableCharCollection
select
in interface CharList
select
in interface MutableCharList
select
in interface OrderedCharIterable
select
in interface ReversibleCharIterable
select
in class AbstractUnmodifiableCharCollection
public MutableCharList reject(CharPredicate predicate)
reject
in interface CharIterable
reject
in interface MutableCharCollection
reject
in interface CharList
reject
in interface MutableCharList
reject
in interface OrderedCharIterable
reject
in interface ReversibleCharIterable
reject
in class AbstractUnmodifiableCharCollection
public <V> MutableList<V> collect(CharToObjectFunction<? extends V> function)
collect
in interface CharIterable
collect
in interface MutableCharCollection
collect
in interface CharList
collect
in interface MutableCharList
collect
in interface OrderedCharIterable
collect
in interface ReversibleCharIterable
collect
in class AbstractUnmodifiableCharCollection
public MutableCharList sortThis()
MutableCharList
sortThis
in interface MutableCharList
public int binarySearch(char value)
binarySearch
in interface CharList
public long dotProduct(CharList list)
dotProduct
in interface CharList
public boolean equals(Object otherList)
CharList
List.equals(Object)
.public int hashCode()
CharList
List.hashCode()
.public MutableCharList asUnmodifiable()
asUnmodifiable
in interface MutableCharCollection
asUnmodifiable
in interface MutableCharList
asUnmodifiable
in class AbstractUnmodifiableCharCollection
public MutableCharList asSynchronized()
asSynchronized
in interface MutableCharCollection
asSynchronized
in interface MutableCharList
asSynchronized
in class AbstractUnmodifiableCharCollection
public ImmutableCharList toImmutable()
MutableCharList
toImmutable
in interface MutableCharCollection
toImmutable
in interface CharList
toImmutable
in interface MutableCharList
toImmutable
in class AbstractUnmodifiableCharCollection
public MutableCharList reverseThis()
reverseThis
in interface MutableCharList
public MutableCharList toReversed()
toReversed
in interface CharList
toReversed
in interface MutableCharList
toReversed
in interface ReversibleCharIterable
public void forEachWithIndex(CharIntProcedure procedure)
forEachWithIndex
in interface OrderedCharIterable
public LazyCharIterable asReversed()
asReversed
in interface ReversibleCharIterable
public <T> T injectIntoWithIndex(T injectedValue, ObjectCharIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface OrderedCharIterable
injectIntoWithIndex
in interface ReversibleCharIterable
public MutableCharList distinct()
distinct
in interface CharList
distinct
in interface MutableCharList
distinct
in interface ReversibleCharIterable
public MutableCharList subList(int fromIndex, int toIndex)
subList
in interface CharList
subList
in interface MutableCharList
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.