@NotThreadSafe public final class UnmodifiableDoubleList extends AbstractUnmodifiableDoubleCollection implements org.eclipse.collections.api.list.primitive.MutableDoubleList
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
double... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.DoubleIterable source) |
void |
addAtIndex(int index,
double element) |
org.eclipse.collections.api.LazyDoubleIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
asUnmodifiable() |
int |
binarySearch(double value) |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
distinct() |
double |
dotProduct(org.eclipse.collections.api.list.primitive.DoubleList list) |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.DoubleIntProcedure procedure) |
double |
get(int index) |
double |
getFirst() |
double |
getLast() |
int |
hashCode() |
int |
indexOf(double value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(double value) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
set(int index,
double element) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
sortThis() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableDoubleList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toReversed() |
UnmodifiableDoubleList |
with(double element) |
UnmodifiableDoubleList |
withAll(org.eclipse.collections.api.DoubleIterable elements) |
UnmodifiableDoubleList |
without(double element) |
UnmodifiableDoubleList |
withoutAll(org.eclipse.collections.api.DoubleIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, clear, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, 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, clear, doubleIterator, 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 double get(int index)
get in interface org.eclipse.collections.api.list.primitive.DoubleListpublic double getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablepublic double getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic int indexOf(double value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablepublic int lastIndexOf(double value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.DoubleListpublic void addAtIndex(int index,
double element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
double... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.DoubleIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic double removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic double set(int index,
double element)
set in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic UnmodifiableDoubleList with(double element)
with in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwith in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList without(double element)
without in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwithout in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList withAll(org.eclipse.collections.api.DoubleIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwithAll in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList withoutAll(org.eclipse.collections.api.DoubleIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwithoutAll in class AbstractUnmodifiableDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionselect in interface org.eclipse.collections.api.DoubleIterableselect in interface org.eclipse.collections.api.list.primitive.DoubleListselect in interface org.eclipse.collections.api.list.primitive.MutableDoubleListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterableselect in class AbstractUnmodifiableDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionreject in interface org.eclipse.collections.api.DoubleIterablereject in interface org.eclipse.collections.api.list.primitive.DoubleListreject in interface org.eclipse.collections.api.list.primitive.MutableDoubleListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablereject in class AbstractUnmodifiableDoubleCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectioncollect in interface org.eclipse.collections.api.DoubleIterablecollect in interface org.eclipse.collections.api.list.primitive.DoubleListcollect in interface org.eclipse.collections.api.list.primitive.MutableDoubleListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablecollect in class AbstractUnmodifiableDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList sortThis()
sortThis in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic int binarySearch(double value)
binarySearch in interface org.eclipse.collections.api.list.primitive.DoubleListpublic double dotProduct(org.eclipse.collections.api.list.primitive.DoubleList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.DoubleListpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.list.primitive.MutableDoubleList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableDoubleListasUnmodifiable in class AbstractUnmodifiableDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableDoubleListasSynchronized in class AbstractUnmodifiableDoubleCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableDoubleList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.DoubleListtoImmutable in interface org.eclipse.collections.api.list.primitive.MutableDoubleListtoImmutable in class AbstractUnmodifiableDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic org.eclipse.collections.api.list.primitive.MutableDoubleList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.DoubleListtoReversed in interface org.eclipse.collections.api.list.primitive.MutableDoubleListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.DoubleIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablepublic org.eclipse.collections.api.LazyDoubleIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.DoubleListdistinct in interface org.eclipse.collections.api.list.primitive.MutableDoubleListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.DoubleListsubList in interface org.eclipse.collections.api.list.primitive.MutableDoubleListCopyright © 2004–2018. All rights reserved.