@NotThreadSafe public final class UnmodifiableCharList extends AbstractUnmodifiableCharCollection implements com.gs.collections.api.list.primitive.MutableCharList
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
char... source) |
boolean |
addAllAtIndex(int index,
com.gs.collections.api.CharIterable source) |
void |
addAtIndex(int index,
char element) |
com.gs.collections.api.LazyCharIterable |
asReversed() |
com.gs.collections.api.list.primitive.MutableCharList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableCharList |
asUnmodifiable() |
int |
binarySearch(char value) |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function) |
com.gs.collections.api.list.primitive.MutableCharList |
distinct() |
long |
dotProduct(com.gs.collections.api.list.primitive.CharList list) |
boolean |
equals(java.lang.Object otherList)
Follows the same general contract as
List.equals(Object). |
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.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,
com.gs.collections.api.block.function.primitive.ObjectCharIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(char value) |
com.gs.collections.api.list.primitive.MutableCharList |
reject(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
char |
removeAtIndex(int index) |
com.gs.collections.api.list.primitive.MutableCharList |
reverseThis() |
com.gs.collections.api.list.primitive.MutableCharList |
select(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate) |
char |
set(int index,
char element) |
com.gs.collections.api.list.primitive.MutableCharList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
com.gs.collections.api.list.primitive.MutableCharList |
subList(int fromIndex,
int toIndex) |
com.gs.collections.api.list.primitive.ImmutableCharList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableCharList |
toReversed() |
UnmodifiableCharList |
with(char element) |
UnmodifiableCharList |
withAll(com.gs.collections.api.CharIterable elements) |
UnmodifiableCharList |
without(char element) |
UnmodifiableCharList |
withoutAll(com.gs.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, charIterator, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, getCharCollection, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic char get(int index)
get in interface com.gs.collections.api.list.primitive.CharListpublic char getFirst()
getFirst in interface com.gs.collections.api.ordered.primitive.OrderedCharIterablepublic char getLast()
getLast in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablepublic int indexOf(char value)
indexOf in interface com.gs.collections.api.ordered.primitive.OrderedCharIterablepublic int lastIndexOf(char value)
lastIndexOf in interface com.gs.collections.api.list.primitive.CharListpublic void addAtIndex(int index,
char element)
addAtIndex in interface com.gs.collections.api.list.primitive.MutableCharListpublic boolean addAllAtIndex(int index,
char... source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableCharListpublic boolean addAllAtIndex(int index,
com.gs.collections.api.CharIterable source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableCharListpublic char removeAtIndex(int index)
removeAtIndex in interface com.gs.collections.api.list.primitive.MutableCharListpublic char set(int index,
char element)
set in interface com.gs.collections.api.list.primitive.MutableCharListpublic UnmodifiableCharList with(char element)
with in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwith in interface com.gs.collections.api.list.primitive.MutableCharListwith in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharList without(char element)
without in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithout in interface com.gs.collections.api.list.primitive.MutableCharListwithout in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharList withAll(com.gs.collections.api.CharIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithAll in interface com.gs.collections.api.list.primitive.MutableCharListwithAll in class AbstractUnmodifiableCharCollectionpublic UnmodifiableCharList withoutAll(com.gs.collections.api.CharIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableCharCollectionwithoutAll in interface com.gs.collections.api.list.primitive.MutableCharListwithoutAll in class AbstractUnmodifiableCharCollectionpublic com.gs.collections.api.list.primitive.MutableCharList select(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface com.gs.collections.api.CharIterableselect in interface com.gs.collections.api.collection.primitive.MutableCharCollectionselect in interface com.gs.collections.api.list.primitive.CharListselect in interface com.gs.collections.api.list.primitive.MutableCharListselect in interface com.gs.collections.api.ordered.primitive.OrderedCharIterableselect in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterableselect in class AbstractUnmodifiableCharCollectionpublic com.gs.collections.api.list.primitive.MutableCharList reject(com.gs.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface com.gs.collections.api.CharIterablereject in interface com.gs.collections.api.collection.primitive.MutableCharCollectionreject in interface com.gs.collections.api.list.primitive.CharListreject in interface com.gs.collections.api.list.primitive.MutableCharListreject in interface com.gs.collections.api.ordered.primitive.OrderedCharIterablereject in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablereject in class AbstractUnmodifiableCharCollectionpublic <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.CharIterablecollect in interface com.gs.collections.api.collection.primitive.MutableCharCollectioncollect in interface com.gs.collections.api.list.primitive.CharListcollect in interface com.gs.collections.api.list.primitive.MutableCharListcollect in interface com.gs.collections.api.ordered.primitive.OrderedCharIterablecollect in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablecollect in class AbstractUnmodifiableCharCollectionpublic com.gs.collections.api.list.primitive.MutableCharList sortThis()
com.gs.collections.api.list.primitive.MutableCharListsortThis in interface com.gs.collections.api.list.primitive.MutableCharListpublic int binarySearch(char value)
binarySearch in interface com.gs.collections.api.list.primitive.CharListpublic long dotProduct(com.gs.collections.api.list.primitive.CharList list)
dotProduct in interface com.gs.collections.api.list.primitive.CharListpublic boolean equals(java.lang.Object otherList)
com.gs.collections.api.list.primitive.CharListList.equals(Object).equals in interface com.gs.collections.api.list.primitive.CharListequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.list.primitive.CharListList.hashCode().hashCode in interface com.gs.collections.api.list.primitive.CharListhashCode in class java.lang.Objectpublic com.gs.collections.api.list.primitive.MutableCharList asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableCharCollectionasUnmodifiable in interface com.gs.collections.api.list.primitive.MutableCharListasUnmodifiable in class AbstractUnmodifiableCharCollectionpublic com.gs.collections.api.list.primitive.MutableCharList asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableCharCollectionasSynchronized in interface com.gs.collections.api.list.primitive.MutableCharListasSynchronized in class AbstractUnmodifiableCharCollectionpublic com.gs.collections.api.list.primitive.ImmutableCharList toImmutable()
com.gs.collections.api.list.primitive.MutableCharListtoImmutable in interface com.gs.collections.api.collection.primitive.MutableCharCollectiontoImmutable in interface com.gs.collections.api.list.primitive.CharListtoImmutable in interface com.gs.collections.api.list.primitive.MutableCharListtoImmutable in class AbstractUnmodifiableCharCollectionpublic com.gs.collections.api.list.primitive.MutableCharList reverseThis()
reverseThis in interface com.gs.collections.api.list.primitive.MutableCharListpublic com.gs.collections.api.list.primitive.MutableCharList toReversed()
toReversed in interface com.gs.collections.api.list.primitive.CharListtoReversed in interface com.gs.collections.api.list.primitive.MutableCharListtoReversed in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablepublic void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.CharIntProcedure procedure)
forEachWithIndex in interface com.gs.collections.api.ordered.primitive.OrderedCharIterablepublic com.gs.collections.api.LazyCharIterable asReversed()
asReversed in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablepublic <T> T injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectCharIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.OrderedCharIterableinjectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablepublic com.gs.collections.api.list.primitive.MutableCharList distinct()
distinct in interface com.gs.collections.api.list.primitive.CharListdistinct in interface com.gs.collections.api.list.primitive.MutableCharListdistinct in interface com.gs.collections.api.ordered.primitive.ReversibleCharIterablepublic com.gs.collections.api.list.primitive.MutableCharList subList(int fromIndex,
int toIndex)
subList in interface com.gs.collections.api.list.primitive.CharListsubList in interface com.gs.collections.api.list.primitive.MutableCharListList#subList(int fromIndex, int toIndex)}