@NotThreadSafe public final class UnmodifiableDoubleList extends AbstractUnmodifiableDoubleCollection implements com.gs.collections.api.list.primitive.MutableDoubleList
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
double... source) |
boolean |
addAllAtIndex(int index,
com.gs.collections.api.DoubleIterable source) |
void |
addAtIndex(int index,
double element) |
com.gs.collections.api.LazyDoubleIterable |
asLazy() |
com.gs.collections.api.LazyDoubleIterable |
asReversed() |
com.gs.collections.api.list.primitive.MutableDoubleList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableDoubleList |
asUnmodifiable() |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
double |
dotProduct(com.gs.collections.api.list.primitive.DoubleList list) |
boolean |
equals(java.lang.Object otherList)
Follows the same general contract as
List.equals(Object). |
void |
forEachWithIndex(com.gs.collections.api.block.procedure.primitive.DoubleIntProcedure procedure) |
double |
get(int index) |
double |
getFirst() |
double |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
indexOf(double value) |
<T> T |
injectInto(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectDoubleIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(double value) |
com.gs.collections.api.list.primitive.MutableDoubleList |
reject(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
removeAtIndex(int index) |
com.gs.collections.api.list.primitive.MutableDoubleList |
reverseThis() |
com.gs.collections.api.list.primitive.MutableDoubleList |
select(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
set(int index,
double element) |
com.gs.collections.api.list.primitive.MutableDoubleList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
com.gs.collections.api.list.primitive.MutableDoubleList |
subList(int fromIndex,
int toIndex) |
com.gs.collections.api.list.primitive.ImmutableDoubleList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableDoubleList |
toReversed() |
UnmodifiableDoubleList |
with(double element) |
UnmodifiableDoubleList |
withAll(com.gs.collections.api.DoubleIterable elements) |
UnmodifiableDoubleList |
without(double element) |
UnmodifiableDoubleList |
withoutAll(com.gs.collections.api.DoubleIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, forEach, getDoubleCollection, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, retainAll, retainAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic double get(int index)
get in interface com.gs.collections.api.list.primitive.DoubleListpublic double getFirst()
getFirst in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic double getLast()
getLast in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic int indexOf(double value)
indexOf in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic int lastIndexOf(double value)
lastIndexOf in interface com.gs.collections.api.list.primitive.DoubleListpublic void addAtIndex(int index,
double element)
addAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
double... source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
com.gs.collections.api.DoubleIterable source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic double removeAtIndex(int index)
removeAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic double set(int index,
double element)
set in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic UnmodifiableDoubleList with(double element)
with in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwith in interface com.gs.collections.api.list.primitive.MutableDoubleListwith in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList without(double element)
without in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwithout in interface com.gs.collections.api.list.primitive.MutableDoubleListwithout in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList withAll(com.gs.collections.api.DoubleIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwithAll in interface com.gs.collections.api.list.primitive.MutableDoubleListwithAll in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList withoutAll(com.gs.collections.api.DoubleIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwithoutAll in interface com.gs.collections.api.list.primitive.MutableDoubleListwithoutAll in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList select(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
select in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionselect in interface com.gs.collections.api.DoubleIterableselect in interface com.gs.collections.api.list.primitive.DoubleListselect in interface com.gs.collections.api.list.primitive.MutableDoubleListselect in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterableselect in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList reject(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
reject in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionreject in interface com.gs.collections.api.DoubleIterablereject in interface com.gs.collections.api.list.primitive.DoubleListreject in interface com.gs.collections.api.list.primitive.MutableDoubleListreject in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablereject in class AbstractUnmodifiableDoubleCollectionpublic <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectioncollect in interface com.gs.collections.api.DoubleIterablecollect in interface com.gs.collections.api.list.primitive.DoubleListcollect in interface com.gs.collections.api.list.primitive.MutableDoubleListcollect in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablecollect in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList sortThis()
com.gs.collections.api.list.primitive.MutableDoubleListsortThis in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic double dotProduct(com.gs.collections.api.list.primitive.DoubleList list)
dotProduct in interface com.gs.collections.api.list.primitive.DoubleListpublic boolean equals(java.lang.Object otherList)
com.gs.collections.api.list.primitive.DoubleListList.equals(Object).equals in interface com.gs.collections.api.list.primitive.DoubleListequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.list.primitive.DoubleListList.hashCode().hashCode in interface com.gs.collections.api.list.primitive.DoubleListhashCode in class java.lang.Objectpublic com.gs.collections.api.LazyDoubleIterable asLazy()
asLazy in interface com.gs.collections.api.DoubleIterableasLazy in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionasUnmodifiable in interface com.gs.collections.api.list.primitive.MutableDoubleListasUnmodifiable in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionasSynchronized in interface com.gs.collections.api.list.primitive.MutableDoubleListasSynchronized in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.ImmutableDoubleList toImmutable()
com.gs.collections.api.list.primitive.MutableDoubleListtoImmutable in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectiontoImmutable in interface com.gs.collections.api.list.primitive.DoubleListtoImmutable in interface com.gs.collections.api.list.primitive.MutableDoubleListtoImmutable in class AbstractUnmodifiableDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList reverseThis()
reverseThis in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic com.gs.collections.api.list.primitive.MutableDoubleList toReversed()
toReversed in interface com.gs.collections.api.list.primitive.DoubleListtoReversed in interface com.gs.collections.api.list.primitive.MutableDoubleListtoReversed in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic void forEachWithIndex(com.gs.collections.api.block.procedure.primitive.DoubleIntProcedure procedure)
forEachWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic com.gs.collections.api.LazyDoubleIterable asReversed()
asReversed in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic <T> T injectInto(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function)
injectInto in interface com.gs.collections.api.DoubleIterableinjectInto in class AbstractUnmodifiableDoubleCollectionpublic <T> T injectIntoWithIndex(T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface com.gs.collections.api.ordered.primitive.ReversibleDoubleIterablepublic com.gs.collections.api.list.primitive.MutableDoubleList subList(int fromIndex,
int toIndex)
subList in interface com.gs.collections.api.list.primitive.DoubleListsubList in interface com.gs.collections.api.list.primitive.MutableDoubleListList#subList(int fromIndex, int toIndex)}