DoubleIterable
, DoubleList
, MutableDoubleCollection
, OrderedDoubleIterable
, PrimitiveIterable
, ReversibleDoubleIterable
DoubleArrayList
, SynchronizedDoubleList
, UnmodifiableDoubleList
public interface MutableDoubleList extends MutableDoubleCollection, DoubleList
Modifier and Type | Method | Description |
---|---|---|
boolean |
addAllAtIndex(int index,
double... source) |
|
boolean |
addAllAtIndex(int index,
DoubleIterable source) |
|
void |
addAtIndex(int index,
double element) |
|
MutableDoubleList |
asSynchronized() |
|
MutableDoubleList |
asUnmodifiable() |
|
<V> MutableList<V> |
collect(DoubleToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableDoubleList |
distinct() |
|
MutableDoubleList |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
double |
removeAtIndex(int index) |
|
MutableDoubleList |
reverseThis() |
|
MutableDoubleList |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified 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() |
|
MutableDoubleList |
with(double element) |
|
MutableDoubleList |
withAll(DoubleIterable elements) |
|
MutableDoubleList |
without(double element) |
|
MutableDoubleList |
withoutAll(DoubleIterable elements) |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf
add, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, retainAll, retainAll
forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
void addAtIndex(int index, double element)
boolean addAllAtIndex(int index, double... source)
boolean addAllAtIndex(int index, DoubleIterable source)
double removeAtIndex(int index)
double set(int index, double element)
MutableDoubleList select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
select
in interface DoubleList
select
in interface MutableDoubleCollection
select
in interface OrderedDoubleIterable
select
in interface ReversibleDoubleIterable
MutableDoubleList reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
reject
in interface DoubleList
reject
in interface MutableDoubleCollection
reject
in interface OrderedDoubleIterable
reject
in interface ReversibleDoubleIterable
MutableDoubleList with(double element)
with
in interface MutableDoubleCollection
MutableDoubleList without(double element)
without
in interface MutableDoubleCollection
MutableDoubleList withAll(DoubleIterable elements)
withAll
in interface MutableDoubleCollection
MutableDoubleList withoutAll(DoubleIterable elements)
withoutAll
in interface MutableDoubleCollection
<V> MutableList<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
collect
in interface DoubleList
collect
in interface MutableDoubleCollection
collect
in interface OrderedDoubleIterable
collect
in interface ReversibleDoubleIterable
MutableDoubleList reverseThis()
MutableDoubleList toReversed()
toReversed
in interface DoubleList
toReversed
in interface ReversibleDoubleIterable
MutableDoubleList distinct()
distinct
in interface DoubleList
distinct
in interface ReversibleDoubleIterable
MutableDoubleList sortThis()
MutableDoubleList asUnmodifiable()
asUnmodifiable
in interface MutableDoubleCollection
MutableDoubleList asSynchronized()
asSynchronized
in interface MutableDoubleCollection
ImmutableDoubleList toImmutable()
toImmutable
in interface DoubleList
toImmutable
in interface MutableDoubleCollection
MutableDoubleList subList(int fromIndex, int toIndex)
subList
in interface DoubleList
Copyright © 2004–2017. All rights reserved.