DoubleIterable, DoubleList, MutableDoubleCollection, OrderedDoubleIterable, PrimitiveIterable, ReversibleDoubleIterableDoubleArrayList, SynchronizedDoubleList, UnmodifiableDoubleListpublic 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.
|
default <V> MutableList<V> |
collectWithIndex(DoubleIntToObjectFunction<? extends V> function) |
Returns a new MutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
MutableDoubleList |
distinct() |
|
default MutableDoubleList |
newEmpty() |
Creates a new empty mutable version of the same List type.
|
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) |
|
default MutableDoubleList |
tap(DoubleProcedure procedure) |
|
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) |
|
default <T> MutableList<DoubleObjectPair<T>> |
zip(java.lang.Iterable<T> list) |
Returns a
MutableList formed from this MutableDoubleList and a ListIterable by
combining corresponding elements in pairs. |
default MutableList<DoubleDoublePair> |
zipDouble(DoubleIterable iterable) |
Returns a
MutableList formed from this MutableDoubleList and another DoubleList by
combining corresponding elements in pairs. |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListbinarySearch, dotProduct, equals, get, hashCode, lastIndexOfadd, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, removeIf, retainAll, retainAllcollectWithIndex, forEachWithIndex, getFirst, indexOfappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringasReversed, getLast, injectIntoWithIndexvoid 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)
DoubleIterableselect in interface DoubleIterableselect in interface DoubleListselect in interface MutableDoubleCollectionselect in interface OrderedDoubleIterableselect in interface ReversibleDoubleIterableMutableDoubleList reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterablereject in interface DoubleListreject in interface MutableDoubleCollectionreject in interface OrderedDoubleIterablereject in interface ReversibleDoubleIterableMutableDoubleList with(double element)
with in interface MutableDoubleCollectionMutableDoubleList without(double element)
without in interface MutableDoubleCollectionMutableDoubleList withAll(DoubleIterable elements)
withAll in interface MutableDoubleCollectionMutableDoubleList withoutAll(DoubleIterable elements)
withoutAll in interface MutableDoubleCollectiondefault MutableDoubleList tap(DoubleProcedure procedure)
tap in interface DoubleIterabletap in interface DoubleListtap in interface MutableDoubleCollection<V> MutableList<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterablecollect in interface DoubleListcollect in interface MutableDoubleCollectioncollect in interface OrderedDoubleIterablecollect in interface ReversibleDoubleIterabledefault <V> MutableList<V> collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
collectWithIndex in interface DoubleListcollectWithIndex in interface OrderedDoubleIterablecollectWithIndex in interface ReversibleDoubleIterableMutableDoubleList reverseThis()
MutableDoubleList toReversed()
toReversed in interface DoubleListtoReversed in interface ReversibleDoubleIterableMutableDoubleList distinct()
distinct in interface DoubleListdistinct in interface ReversibleDoubleIterableMutableDoubleList sortThis()
MutableDoubleList asUnmodifiable()
asUnmodifiable in interface MutableDoubleCollectionMutableDoubleList asSynchronized()
asSynchronized in interface MutableDoubleCollectionImmutableDoubleList toImmutable()
toImmutable in interface DoubleListtoImmutable in interface MutableDoubleCollectionMutableDoubleList subList(int fromIndex, int toIndex)
subList in interface DoubleListList.subList(int fromIndex, int toIndex)default MutableList<DoubleDoublePair> zipDouble(DoubleIterable iterable)
MutableList formed from this MutableDoubleList and another DoubleList by
combining corresponding elements in pairs. If one of the two DoubleLists is longer than the other, its
remaining elements are ignored.zipDouble in interface DoubleListdefault <T> MutableList<DoubleObjectPair<T>> zip(java.lang.Iterable<T> list)
MutableList formed from this MutableDoubleList and a ListIterable by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.zip in interface DoubleListdefault MutableDoubleList newEmpty()
newEmpty in interface MutableDoubleCollectionCopyright © 2004–2018. All rights reserved.