@ThreadSafe public final class SynchronizedCharList extends AbstractSynchronizedCharCollection implements 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 Formadd, 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, toString
add, addAll, addAll, charIterator, clear, remove, removeAll, removeAll, retainAll, retainAll
allSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, 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 SynchronizedCharList with(char element)
with
in interface MutableCharCollection
with
in interface MutableCharList
with
in class AbstractSynchronizedCharCollection
public SynchronizedCharList without(char element)
without
in interface MutableCharCollection
without
in interface MutableCharList
without
in class AbstractSynchronizedCharCollection
public SynchronizedCharList withAll(CharIterable elements)
withAll
in interface MutableCharCollection
withAll
in interface MutableCharList
withAll
in class AbstractSynchronizedCharCollection
public SynchronizedCharList withoutAll(CharIterable elements)
withoutAll
in interface MutableCharCollection
withoutAll
in interface MutableCharList
withoutAll
in class AbstractSynchronizedCharCollection
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 AbstractSynchronizedCharCollection
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 AbstractSynchronizedCharCollection
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 AbstractSynchronizedCharCollection
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 LazyCharIterable asLazy()
asLazy
in interface CharIterable
asLazy
in class AbstractSynchronizedCharCollection
public MutableCharList asUnmodifiable()
asUnmodifiable
in interface MutableCharCollection
asUnmodifiable
in interface MutableCharList
asUnmodifiable
in class AbstractSynchronizedCharCollection
public MutableCharList asSynchronized()
asSynchronized
in interface MutableCharCollection
asSynchronized
in interface MutableCharList
asSynchronized
in class AbstractSynchronizedCharCollection
public ImmutableCharList toImmutable()
MutableCharList
toImmutable
in interface MutableCharCollection
toImmutable
in interface CharList
toImmutable
in interface MutableCharList
toImmutable
in class AbstractSynchronizedCharCollection
public MutableCharList reverseThis()
reverseThis
in interface MutableCharList
public MutableCharList toReversed()
toReversed
in interface CharList
toReversed
in interface MutableCharList
toReversed
in interface ReversibleCharIterable
public LazyCharIterable asReversed()
asReversed
in interface ReversibleCharIterable
public void forEachWithIndex(CharIntProcedure procedure)
forEachWithIndex
in interface OrderedCharIterable
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.