@ThreadSafe public final class SynchronizedShortList extends AbstractSynchronizedShortCollection implements org.eclipse.collections.api.list.primitive.MutableShortList
MutableShortList. It is imperative that the user manually synchronize on the collection when iterating over it using the
ShortIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableShortList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
short... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.ShortIterable source) |
void |
addAtIndex(int index,
short element) |
org.eclipse.collections.api.LazyShortIterable |
asLazy() |
org.eclipse.collections.api.LazyShortIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableShortList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableShortList |
asUnmodifiable() |
int |
binarySearch(short value) |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableShortList |
distinct() |
long |
dotProduct(org.eclipse.collections.api.list.primitive.ShortList list) |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ShortIntProcedure procedure) |
short |
get(int index) |
short |
getFirst() |
short |
getLast() |
int |
hashCode() |
int |
indexOf(short value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectShortIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(short value) |
org.eclipse.collections.api.list.primitive.MutableShortList |
reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
short |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableShortList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableShortList |
select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
short |
set(int index,
short element) |
org.eclipse.collections.api.list.primitive.MutableShortList |
sortThis() |
org.eclipse.collections.api.list.primitive.MutableShortList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableShortList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableShortList |
toReversed() |
SynchronizedShortList |
with(short element) |
SynchronizedShortList |
withAll(org.eclipse.collections.api.ShortIterable elements) |
SynchronizedShortList |
without(short element) |
SynchronizedShortList |
withoutAll(org.eclipse.collections.api.ShortIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, 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, shortIterator, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringadd, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAll, shortIteratorallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic short get(int index)
get in interface org.eclipse.collections.api.list.primitive.ShortListpublic short getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterablepublic short getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablepublic int indexOf(short value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterablepublic int lastIndexOf(short value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.ShortListpublic void addAtIndex(int index,
short element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic boolean addAllAtIndex(int index,
short... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.ShortIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic short removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic short set(int index,
short element)
set in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic SynchronizedShortList with(short element)
with in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableShortListwith in class AbstractSynchronizedShortCollectionpublic SynchronizedShortList without(short element)
without in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableShortListwithout in class AbstractSynchronizedShortCollectionpublic SynchronizedShortList withAll(org.eclipse.collections.api.ShortIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableShortListwithAll in class AbstractSynchronizedShortCollectionpublic SynchronizedShortList withoutAll(org.eclipse.collections.api.ShortIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableShortListwithoutAll in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.MutableShortList select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionselect in interface org.eclipse.collections.api.list.primitive.MutableShortListselect in interface org.eclipse.collections.api.list.primitive.ShortListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterableselect in interface org.eclipse.collections.api.ShortIterableselect in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.MutableShortList reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionreject in interface org.eclipse.collections.api.list.primitive.MutableShortListreject in interface org.eclipse.collections.api.list.primitive.ShortListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablereject in interface org.eclipse.collections.api.ShortIterablereject in class AbstractSynchronizedShortCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectioncollect in interface org.eclipse.collections.api.list.primitive.MutableShortListcollect in interface org.eclipse.collections.api.list.primitive.ShortListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablecollect in interface org.eclipse.collections.api.ShortIterablecollect in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.MutableShortList sortThis()
sortThis in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic int binarySearch(short value)
binarySearch in interface org.eclipse.collections.api.list.primitive.ShortListpublic long dotProduct(org.eclipse.collections.api.list.primitive.ShortList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.ShortListpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.LazyShortIterable asLazy()
asLazy in interface org.eclipse.collections.api.ShortIterableasLazy in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.MutableShortList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableShortListasUnmodifiable in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.MutableShortList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableShortListasSynchronized in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableShortList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableShortCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.MutableShortListtoImmutable in interface org.eclipse.collections.api.list.primitive.ShortListtoImmutable in class AbstractSynchronizedShortCollectionpublic org.eclipse.collections.api.list.primitive.MutableShortList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableShortListpublic org.eclipse.collections.api.list.primitive.MutableShortList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.MutableShortListtoReversed in interface org.eclipse.collections.api.list.primitive.ShortListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablepublic org.eclipse.collections.api.LazyShortIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ShortIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectShortIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedShortIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablepublic org.eclipse.collections.api.list.primitive.MutableShortList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.MutableShortListdistinct in interface org.eclipse.collections.api.list.primitive.ShortListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleShortIterablepublic org.eclipse.collections.api.list.primitive.MutableShortList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.MutableShortListsubList in interface org.eclipse.collections.api.list.primitive.ShortListCopyright © 2004–2017. All rights reserved.