@ThreadSafe public final class SynchronizedDoubleList extends AbstractSynchronizedDoubleCollection implements org.eclipse.collections.api.list.primitive.MutableDoubleList
MutableDoubleList. It is imperative that the user manually synchronize on the collection when iterating over it using the
DoubleIterator, as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitiveList.stg.
MutableDoubleList.asSynchronized(),
MutableList.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllAtIndex(int index,
double... source) |
boolean |
addAllAtIndex(int index,
org.eclipse.collections.api.DoubleIterable source) |
void |
addAtIndex(int index,
double element) |
org.eclipse.collections.api.LazyDoubleIterable |
asLazy() |
org.eclipse.collections.api.LazyDoubleIterable |
asReversed() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
asSynchronized() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
asUnmodifiable() |
int |
binarySearch(double value) |
<V> org.eclipse.collections.api.list.MutableList<V> |
collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
distinct() |
double |
dotProduct(org.eclipse.collections.api.list.primitive.DoubleList list) |
boolean |
equals(Object otherList) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.DoubleIntProcedure procedure) |
double |
get(int index) |
double |
getFirst() |
double |
getLast() |
int |
hashCode() |
int |
indexOf(double value) |
<T> T |
injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleIntToObjectFunction<? super T,? extends T> function) |
int |
lastIndexOf(double value) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
removeAtIndex(int index) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
reverseThis() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
set(int index,
double element) |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
sortThis() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
subList(int fromIndex,
int toIndex) |
org.eclipse.collections.api.list.primitive.ImmutableDoubleList |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toReversed() |
SynchronizedDoubleList |
with(double element) |
SynchronizedDoubleList |
withAll(org.eclipse.collections.api.DoubleIterable elements) |
SynchronizedDoubleList |
without(double element) |
SynchronizedDoubleList |
withoutAll(org.eclipse.collections.api.DoubleIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, 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, toStringadd, addAll, addAll, clear, doubleIterator, remove, removeAll, removeAll, retainAll, retainAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic double get(int index)
get in interface org.eclipse.collections.api.list.primitive.DoubleListpublic double getFirst()
getFirst in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablepublic double getLast()
getLast in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic int indexOf(double value)
indexOf in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablepublic int lastIndexOf(double value)
lastIndexOf in interface org.eclipse.collections.api.list.primitive.DoubleListpublic void addAtIndex(int index,
double element)
addAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
double... source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
org.eclipse.collections.api.DoubleIterable source)
addAllAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic double removeAtIndex(int index)
removeAtIndex in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic double set(int index,
double element)
set in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic SynchronizedDoubleList with(double element)
with in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwith in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwith in class AbstractSynchronizedDoubleCollectionpublic SynchronizedDoubleList without(double element)
without in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwithout in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwithout in class AbstractSynchronizedDoubleCollectionpublic SynchronizedDoubleList withAll(org.eclipse.collections.api.DoubleIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwithAll in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwithAll in class AbstractSynchronizedDoubleCollectionpublic SynchronizedDoubleList withoutAll(org.eclipse.collections.api.DoubleIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionwithoutAll in interface org.eclipse.collections.api.list.primitive.MutableDoubleListwithoutAll in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
select in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionselect in interface org.eclipse.collections.api.DoubleIterableselect in interface org.eclipse.collections.api.list.primitive.DoubleListselect in interface org.eclipse.collections.api.list.primitive.MutableDoubleListselect in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterableselect in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterableselect in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
reject in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionreject in interface org.eclipse.collections.api.DoubleIterablereject in interface org.eclipse.collections.api.list.primitive.DoubleListreject in interface org.eclipse.collections.api.list.primitive.MutableDoubleListreject in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablereject in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablereject in class AbstractSynchronizedDoubleCollectionpublic <V> org.eclipse.collections.api.list.MutableList<V> collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectioncollect in interface org.eclipse.collections.api.DoubleIterablecollect in interface org.eclipse.collections.api.list.primitive.DoubleListcollect in interface org.eclipse.collections.api.list.primitive.MutableDoubleListcollect in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablecollect in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablecollect in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList sortThis()
sortThis in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic int binarySearch(double value)
binarySearch in interface org.eclipse.collections.api.list.primitive.DoubleListpublic double dotProduct(org.eclipse.collections.api.list.primitive.DoubleList list)
dotProduct in interface org.eclipse.collections.api.list.primitive.DoubleListpublic boolean equals(Object otherList)
public int hashCode()
public org.eclipse.collections.api.LazyDoubleIterable asLazy()
asLazy in interface org.eclipse.collections.api.DoubleIterableasLazy in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionasUnmodifiable in interface org.eclipse.collections.api.list.primitive.MutableDoubleListasUnmodifiable in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionasSynchronized in interface org.eclipse.collections.api.list.primitive.MutableDoubleListasSynchronized in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.ImmutableDoubleList toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectiontoImmutable in interface org.eclipse.collections.api.list.primitive.DoubleListtoImmutable in interface org.eclipse.collections.api.list.primitive.MutableDoubleListtoImmutable in class AbstractSynchronizedDoubleCollectionpublic org.eclipse.collections.api.list.primitive.MutableDoubleList reverseThis()
reverseThis in interface org.eclipse.collections.api.list.primitive.MutableDoubleListpublic org.eclipse.collections.api.list.primitive.MutableDoubleList toReversed()
toReversed in interface org.eclipse.collections.api.list.primitive.DoubleListtoReversed in interface org.eclipse.collections.api.list.primitive.MutableDoubleListtoReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic org.eclipse.collections.api.LazyDoubleIterable asReversed()
asReversed in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.DoubleIntProcedure procedure)
forEachWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterablepublic <T> T injectIntoWithIndex(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.OrderedDoubleIterableinjectIntoWithIndex in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList distinct()
distinct in interface org.eclipse.collections.api.list.primitive.DoubleListdistinct in interface org.eclipse.collections.api.list.primitive.MutableDoubleListdistinct in interface org.eclipse.collections.api.ordered.primitive.ReversibleDoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList subList(int fromIndex,
int toIndex)
subList in interface org.eclipse.collections.api.list.primitive.DoubleListsubList in interface org.eclipse.collections.api.list.primitive.MutableDoubleListCopyright © 2004–2017. All rights reserved.