@NotThreadSafe public final class UnmodifiableDoubleList extends AbstractUnmodifiableDoubleCollection implements MutableDoubleList
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
double... source) |
boolean |
addAllAtIndex(int index,
DoubleIterable source) |
void |
addAtIndex(int index,
double element) |
LazyDoubleIterable |
asLazy() |
LazyDoubleIterable |
asReversed() |
MutableDoubleList |
asSynchronized() |
MutableDoubleList |
asUnmodifiable() |
<V> MutableList<V> |
collect(DoubleToObjectFunction<? extends V> function) |
double |
dotProduct(DoubleList list) |
boolean |
equals(Object otherList)
Follows the same general contract as
List.equals(Object). |
void |
forEachWithIndex(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,
ObjectDoubleToObjectFunction<? super T,? extends T> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectDoubleIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(double value) |
MutableDoubleList |
reject(DoublePredicate predicate) |
double |
removeAtIndex(int index) |
MutableDoubleList |
reverseThis() |
MutableDoubleList |
select(DoublePredicate predicate) |
double |
set(int index,
double element) |
MutableDoubleList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
MutableDoubleList |
subList(int fromIndex,
int toIndex) |
ImmutableDoubleList |
toImmutable()
Returns an immutable copy of this list.
|
MutableDoubleList |
toReversed() |
UnmodifiableDoubleList |
with(double element) |
UnmodifiableDoubleList |
withAll(DoubleIterable elements) |
UnmodifiableDoubleList |
without(double element) |
UnmodifiableDoubleList |
withoutAll(DoubleIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, forEach, 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, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic double get(int index)
get in interface DoubleListpublic double getFirst()
getFirst in interface ReversibleDoubleIterablepublic double getLast()
getLast in interface ReversibleDoubleIterablepublic int indexOf(double value)
indexOf in interface ReversibleDoubleIterablepublic int lastIndexOf(double value)
lastIndexOf in interface DoubleListpublic void addAtIndex(int index,
double element)
addAtIndex in interface MutableDoubleListpublic boolean addAllAtIndex(int index,
double... source)
addAllAtIndex in interface MutableDoubleListpublic boolean addAllAtIndex(int index,
DoubleIterable source)
addAllAtIndex in interface MutableDoubleListpublic double removeAtIndex(int index)
removeAtIndex in interface MutableDoubleListpublic double set(int index,
double element)
set in interface MutableDoubleListpublic UnmodifiableDoubleList with(double element)
with in interface MutableDoubleCollectionwith in interface MutableDoubleListwith in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList without(double element)
without in interface MutableDoubleCollectionwithout in interface MutableDoubleListwithout in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList withAll(DoubleIterable elements)
withAll in interface MutableDoubleCollectionwithAll in interface MutableDoubleListwithAll in class AbstractUnmodifiableDoubleCollectionpublic UnmodifiableDoubleList withoutAll(DoubleIterable elements)
withoutAll in interface MutableDoubleCollectionwithoutAll in interface MutableDoubleListwithoutAll in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleList select(DoublePredicate predicate)
select in interface MutableDoubleCollectionselect in interface DoubleIterableselect in interface DoubleListselect in interface MutableDoubleListselect in interface ReversibleDoubleIterableselect in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleList reject(DoublePredicate predicate)
reject in interface MutableDoubleCollectionreject in interface DoubleIterablereject in interface DoubleListreject in interface MutableDoubleListreject in interface ReversibleDoubleIterablereject in class AbstractUnmodifiableDoubleCollectionpublic <V> MutableList<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface MutableDoubleCollectioncollect in interface DoubleIterablecollect in interface DoubleListcollect in interface MutableDoubleListcollect in interface ReversibleDoubleIterablecollect in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleList sortThis()
MutableDoubleListsortThis in interface MutableDoubleListpublic double dotProduct(DoubleList list)
dotProduct in interface DoubleListpublic boolean equals(Object otherList)
DoubleListList.equals(Object).equals in interface DoubleListequals in class Objectpublic int hashCode()
DoubleListList.hashCode().hashCode in interface DoubleListhashCode in class Objectpublic LazyDoubleIterable asLazy()
asLazy in interface DoubleIterableasLazy in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleList asUnmodifiable()
asUnmodifiable in interface MutableDoubleCollectionasUnmodifiable in interface MutableDoubleListasUnmodifiable in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleList asSynchronized()
asSynchronized in interface MutableDoubleCollectionasSynchronized in interface MutableDoubleListasSynchronized in class AbstractUnmodifiableDoubleCollectionpublic ImmutableDoubleList toImmutable()
MutableDoubleListtoImmutable in interface MutableDoubleCollectiontoImmutable in interface DoubleListtoImmutable in interface MutableDoubleListtoImmutable in class AbstractUnmodifiableDoubleCollectionpublic MutableDoubleList reverseThis()
reverseThis in interface MutableDoubleListpublic MutableDoubleList toReversed()
toReversed in interface DoubleListtoReversed in interface MutableDoubleListtoReversed in interface ReversibleDoubleIterablepublic void forEachWithIndex(DoubleIntProcedure procedure)
forEachWithIndex in interface ReversibleDoubleIterablepublic LazyDoubleIterable asReversed()
asReversed in interface ReversibleDoubleIterablepublic <T> T injectInto(T injectedValue,
ObjectDoubleToObjectFunction<? super T,? extends T> function)
injectInto in interface DoubleIterableinjectInto in class AbstractUnmodifiableDoubleCollectionpublic <T> T injectIntoWithIndex(T injectedValue,
ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface ReversibleDoubleIterablepublic MutableDoubleList subList(int fromIndex, int toIndex)
subList in interface DoubleListsubList in interface MutableDoubleListList#subList(int fromIndex, int toIndex)}Copyright © 2004–2017. All rights reserved.