@ThreadSafe public final class SynchronizedCharList extends AbstractSynchronizedCharCollection implements org.eclipse.collections.api.list.primitive.MutableCharList
MutableCharList. It is imperative that the user manually synchronize on the collection when iterating over it using the
CharIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableCharList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
char... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.CharIterable source) |
void |
addAtIndex(int index,
char element) |
org.eclipse.collections.api.LazyCharIterable |
asLazy() |
org.eclipse.collections.api.LazyCharIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableCharList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableCharList |
asUnmodifiable() |
int |
binarySearch(char value) |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableCharList |
distinct() |
long |
dotProduct(org.eclipse.collections.api.list.primitive.CharList list) |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.CharIntProcedure procedure) |
char |
get(int index) |
char |
getFirst() |
char |
getLast() |
int |
hashCode() |
int |
indexOf(char value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(char value) |
org.eclipse.collections.api.list.primitive.MutableCharList |
reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
char |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableCharList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableCharList |
select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
char |
set(int index,
char element) |
org.eclipse.collections.api.list.primitive.MutableCharList |
sortThis() |
org.eclipse.collections.api.list.primitive.MutableCharList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableCharList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableCharList |
toReversed() |
SynchronizedCharList |
with(char element) |
SynchronizedCharList |
withAll(org.eclipse.collections.api.CharIterable elements) |
SynchronizedCharList |
without(char element) |
SynchronizedCharList |
withoutAll(org.eclipse.collections.api.CharIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, 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, toStringadd, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, 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 org.eclipse.collections.api.list.primitive.CharListpublic char getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterablepublic char getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablepublic int indexOf(char value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterablepublic int lastIndexOf(char value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.CharListpublic void addAtIndex(int index,
char element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic boolean addAllAtIndex(int index,
char... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.CharIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic char removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic char set(int index,
char element)
set in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic SynchronizedCharList with(char element)
with in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableCharListwith in class AbstractSynchronizedCharCollectionpublic SynchronizedCharList without(char element)
without in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableCharListwithout in class AbstractSynchronizedCharCollectionpublic SynchronizedCharList withAll(org.eclipse.collections.api.CharIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableCharListwithAll in class AbstractSynchronizedCharCollectionpublic SynchronizedCharList withoutAll(org.eclipse.collections.api.CharIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableCharListwithoutAll in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.MutableCharList select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface org.eclipse.collections.api.CharIterableselect in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionselect in interface org.eclipse.collections.api.list.primitive.CharListselect in interface org.eclipse.collections.api.list.primitive.MutableCharListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterableselect in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.MutableCharList reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface org.eclipse.collections.api.CharIterablereject in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionreject in interface org.eclipse.collections.api.list.primitive.CharListreject in interface org.eclipse.collections.api.list.primitive.MutableCharListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablereject in class AbstractSynchronizedCharCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.CharIterablecollect in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectioncollect in interface org.eclipse.collections.api.list.primitive.CharListcollect in interface org.eclipse.collections.api.list.primitive.MutableCharListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablecollect in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.MutableCharList sortThis()
sortThis in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic int binarySearch(char value)
binarySearch in interface org.eclipse.collections.api.list.primitive.CharListpublic long dotProduct(org.eclipse.collections.api.list.primitive.CharList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.CharListpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.LazyCharIterable asLazy()
asLazy in interface org.eclipse.collections.api.CharIterableasLazy in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.MutableCharList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableCharListasUnmodifiable in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.MutableCharList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableCharListasSynchronized in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableCharList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableCharCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.CharListtoImmutable in interface org.eclipse.collections.api.list.primitive.MutableCharListtoImmutable in class AbstractSynchronizedCharCollectionpublic org.eclipse.collections.api.list.primitive.MutableCharList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableCharListpublic org.eclipse.collections.api.list.primitive.MutableCharList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.CharListtoReversed in interface org.eclipse.collections.api.list.primitive.MutableCharListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablepublic org.eclipse.collections.api.LazyCharIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.CharIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedCharIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablepublic org.eclipse.collections.api.list.primitive.MutableCharList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.CharListdistinct in interface org.eclipse.collections.api.list.primitive.MutableCharListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleCharIterablepublic org.eclipse.collections.api.list.primitive.MutableCharList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.CharListsubList in interface org.eclipse.collections.api.list.primitive.MutableCharListCopyright © 2004–2018. All rights reserved.