@NotThreadSafe public final class UnmodifiableIntList extends AbstractUnmodifiableIntCollection implements org.eclipse.collections.api.list.primitive.MutableIntList
| 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 |
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() |
UnmodifiableIntList |
with(int element) |
UnmodifiableIntList |
withAll(org.eclipse.collections.api.IntIterable elements) |
UnmodifiableIntList |
without(int element) |
UnmodifiableIntList |
withoutAll(org.eclipse.collections.api.IntIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, 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, asLazy, 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 UnmodifiableIntList with(int element)
with in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableIntListwith in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntList without(int element)
without in interface org.eclipse.collections.api.collection.primitive.MutableIntCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableIntListwithout in class AbstractUnmodifiableIntCollectionpublic UnmodifiableIntList 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 AbstractUnmodifiableIntCollectionpublic UnmodifiableIntList 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic <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 AbstractUnmodifiableIntCollectionpublic 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.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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic 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 AbstractUnmodifiableIntCollectionpublic 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 void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.IntIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedIntIterablepublic org.eclipse.collections.api.LazyIntIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleIntIterablepublic <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.