@ThreadSafe public final class SynchronizedIntList extends AbstractSynchronizedIntCollection implements org.eclipse.collections.api.list.primitive.MutableIntList
MutableIntList. It is imperative that the user manually synchronize on the collection when iterating over it using the
IntIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableIntList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
int... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.IntIterable source) |
void |
addAtIndex(int index,
int element) |
org.eclipse.collections.api.LazyIntIterable |
asLazy() |
org.eclipse.collections.api.LazyIntIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableIntList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableIntList |
asUnmodifiable() |
int |
binarySearch(int value) |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableIntList |
distinct() |
long |
dotProduct(org.eclipse.collections.api.list.primitive.IntList list) |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure) |
int |
get(int index) |
int |
getFirst() |
int |
getLast() |
int |
hashCode() |
int |
indexOf(int value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(int value) |
org.eclipse.collections.api.list.primitive.MutableIntList |
reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableIntList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableIntList |
select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate) |
int |
set(int index,
int element) |
org.eclipse.collections.api.list.primitive.MutableIntList |
sortThis() |
org.eclipse.collections.api.list.primitive.MutableIntList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableIntList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableIntList |
toReversed() |
SynchronizedIntList |
with(int element) |
SynchronizedIntList |
withAll(org.eclipse.collections.api.IntIterable elements) |
SynchronizedIntList |
without(int element) |
SynchronizedIntList |
withoutAll(org.eclipse.collections.api.IntIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, intIterator, 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, clear, intIterator, 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 int get(int index)
get in interface org.eclipse.collections.api.list.primitive.IntListpublic int getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic int getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic int indexOf(int value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic int lastIndexOf(int value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.IntListpublic void addAtIndex(int index,
int element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic boolean addAllAtIndex(int index,
int... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.IntIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic int removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic int set(int index,
int element)
set in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic SynchronizedIntList with(int element)
with in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableIntListwith in class AbstractSynchronizedIntCollectionpublic SynchronizedIntList without(int element)
without in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableIntListwithout in class AbstractSynchronizedIntCollectionpublic SynchronizedIntList withAll(org.eclipse.collections.api.IntIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableIntListwithAll in class AbstractSynchronizedIntCollectionpublic SynchronizedIntList withoutAll(org.eclipse.collections.api.IntIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableIntListwithoutAll in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.MutableIntList select(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionselect in interface org.eclipse.collections.api.IntIterableselect in interface org.eclipse.collections.api.list.primitive.IntListselect in interface org.eclipse.collections.api.list.primitive.MutableIntListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterableselect in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.MutableIntList reject(org.eclipse.collections.api.block.predicate.primitive.IntPredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionreject in interface org.eclipse.collections.api.IntIterablereject in interface org.eclipse.collections.api.list.primitive.IntListreject in interface org.eclipse.collections.api.list.primitive.MutableIntListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablereject in class AbstractSynchronizedIntCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.IntToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectioncollect in interface org.eclipse.collections.api.IntIterablecollect in interface org.eclipse.collections.api.list.primitive.IntListcollect in interface org.eclipse.collections.api.list.primitive.MutableIntListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablecollect in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.MutableIntList sortThis()
sortThis in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic int binarySearch(int value)
binarySearch in interface org.eclipse.collections.api.list.primitive.IntListpublic long dotProduct(org.eclipse.collections.api.list.primitive.IntList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.IntListpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.LazyIntIterable asLazy()
asLazy in interface org.eclipse.collections.api.IntIterableasLazy in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.MutableIntList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableIntListasUnmodifiable in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.MutableIntList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableIntListasSynchronized in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableIntList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.IntListtoImmutable in interface org.eclipse.collections.api.list.primitive.MutableIntListtoImmutable in class AbstractSynchronizedIntCollectionpublic org.eclipse.collections.api.list.primitive.MutableIntList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableIntListpublic org.eclipse.collections.api.list.primitive.MutableIntList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.IntListtoReversed in interface org.eclipse.collections.api.list.primitive.MutableIntListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic org.eclipse.collections.api.LazyIntIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectIntIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.IntListdistinct in interface org.eclipse.collections.api.list.primitive.MutableIntListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic org.eclipse.collections.api.list.primitive.MutableIntList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.IntListsubList in interface org.eclipse.collections.api.list.primitive.MutableIntListCopyright © 2004–2017. All rights reserved.