@NotThreadSafe public final class UnmodifiableDoubleList extends AbstractUnmodifiableDoubleCollection implements MutableDoubleList
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, toString
add, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, retainAll, retainAll
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
public double get(int index)
get
in interface DoubleList
public double getFirst()
getFirst
in interface OrderedDoubleIterable
public double getLast()
getLast
in interface ReversibleDoubleIterable
public int indexOf(double value)
indexOf
in interface OrderedDoubleIterable
public int lastIndexOf(double value)
lastIndexOf
in interface DoubleList
public void addAtIndex(int index, double element)
addAtIndex
in interface MutableDoubleList
public boolean addAllAtIndex(int index, double... source)
addAllAtIndex
in interface MutableDoubleList
public boolean addAllAtIndex(int index, DoubleIterable source)
addAllAtIndex
in interface MutableDoubleList
public double removeAtIndex(int index)
removeAtIndex
in interface MutableDoubleList
public double set(int index, double element)
set
in interface MutableDoubleList
public UnmodifiableDoubleList with(double element)
with
in interface MutableDoubleCollection
with
in interface MutableDoubleList
with
in class AbstractUnmodifiableDoubleCollection
public UnmodifiableDoubleList without(double element)
without
in interface MutableDoubleCollection
without
in interface MutableDoubleList
without
in class AbstractUnmodifiableDoubleCollection
public UnmodifiableDoubleList withAll(DoubleIterable elements)
withAll
in interface MutableDoubleCollection
withAll
in interface MutableDoubleList
withAll
in class AbstractUnmodifiableDoubleCollection
public UnmodifiableDoubleList withoutAll(DoubleIterable elements)
withoutAll
in interface MutableDoubleCollection
withoutAll
in interface MutableDoubleList
withoutAll
in class AbstractUnmodifiableDoubleCollection
public MutableDoubleList select(DoublePredicate predicate)
select
in interface MutableDoubleCollection
select
in interface DoubleIterable
select
in interface DoubleList
select
in interface MutableDoubleList
select
in interface OrderedDoubleIterable
select
in interface ReversibleDoubleIterable
select
in class AbstractUnmodifiableDoubleCollection
public MutableDoubleList reject(DoublePredicate predicate)
reject
in interface MutableDoubleCollection
reject
in interface DoubleIterable
reject
in interface DoubleList
reject
in interface MutableDoubleList
reject
in interface OrderedDoubleIterable
reject
in interface ReversibleDoubleIterable
reject
in class AbstractUnmodifiableDoubleCollection
public <V> MutableList<V> collect(DoubleToObjectFunction<? extends V> function)
collect
in interface MutableDoubleCollection
collect
in interface DoubleIterable
collect
in interface DoubleList
collect
in interface MutableDoubleList
collect
in interface OrderedDoubleIterable
collect
in interface ReversibleDoubleIterable
collect
in class AbstractUnmodifiableDoubleCollection
public MutableDoubleList sortThis()
MutableDoubleList
sortThis
in interface MutableDoubleList
public int binarySearch(double value)
binarySearch
in interface DoubleList
public double dotProduct(DoubleList list)
dotProduct
in interface DoubleList
public boolean equals(Object otherList)
DoubleList
List.equals(Object)
.equals
in interface DoubleList
equals
in class Object
public int hashCode()
DoubleList
List.hashCode()
.hashCode
in interface DoubleList
hashCode
in class Object
public MutableDoubleList asUnmodifiable()
asUnmodifiable
in interface MutableDoubleCollection
asUnmodifiable
in interface MutableDoubleList
asUnmodifiable
in class AbstractUnmodifiableDoubleCollection
public MutableDoubleList asSynchronized()
asSynchronized
in interface MutableDoubleCollection
asSynchronized
in interface MutableDoubleList
asSynchronized
in class AbstractUnmodifiableDoubleCollection
public ImmutableDoubleList toImmutable()
MutableDoubleList
toImmutable
in interface MutableDoubleCollection
toImmutable
in interface DoubleList
toImmutable
in interface MutableDoubleList
toImmutable
in class AbstractUnmodifiableDoubleCollection
public MutableDoubleList reverseThis()
reverseThis
in interface MutableDoubleList
public MutableDoubleList toReversed()
toReversed
in interface DoubleList
toReversed
in interface MutableDoubleList
toReversed
in interface ReversibleDoubleIterable
public void forEachWithIndex(DoubleIntProcedure procedure)
forEachWithIndex
in interface OrderedDoubleIterable
public LazyDoubleIterable asReversed()
asReversed
in interface ReversibleDoubleIterable
public <T> T injectIntoWithIndex(T injectedValue, ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex
in interface OrderedDoubleIterable
injectIntoWithIndex
in interface ReversibleDoubleIterable
public MutableDoubleList distinct()
distinct
in interface DoubleList
distinct
in interface MutableDoubleList
distinct
in interface ReversibleDoubleIterable
public MutableDoubleList subList(int fromIndex, int toIndex)
subList
in interface DoubleList
subList
in interface MutableDoubleList
List#subList(int fromIndex, int toIndex)}
Copyright © 2004–2016. All rights reserved.