@ThreadSafe public final class SynchronizedDoubleList extends AbstractSynchronizedDoubleCollection implements com.gs.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,
com.gs.collections.api.DoubleIterable source) |
void |
addAtIndex(int index,
double element) |
com.gs.collections.api.LazyDoubleIterable |
asLazy() |
com.gs.collections.api.list.primitive.MutableDoubleList |
asSynchronized() |
com.gs.collections.api.list.primitive.MutableDoubleList |
asUnmodifiable() |
<V> com.gs.collections.api.list.MutableList<V> |
collect(com.gs.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
double |
dotProduct(com.gs.collections.api.list.primitive.DoubleList list) |
boolean |
equals(java.lang.Object otherList)
Follows the same general contract as
List.equals(Object). |
double |
get(int index) |
double |
getFirst() |
double |
getLast() |
int |
hashCode()
Follows the same general contract as
List.hashCode(). |
int |
indexOf(double value) |
int |
lastIndexOf(double value) |
com.gs.collections.api.list.primitive.MutableDoubleList |
reject(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
removeAtIndex(int index) |
com.gs.collections.api.list.primitive.MutableDoubleList |
reverseThis() |
com.gs.collections.api.list.primitive.MutableDoubleList |
select(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
set(int index,
double element) |
com.gs.collections.api.list.primitive.MutableDoubleList |
sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
com.gs.collections.api.list.primitive.ImmutableDoubleList |
toImmutable()
Returns an immutable copy of this list.
|
com.gs.collections.api.list.primitive.MutableDoubleList |
toReversed() |
SynchronizedDoubleList |
with(double element) |
SynchronizedDoubleList |
withAll(com.gs.collections.api.DoubleIterable elements) |
SynchronizedDoubleList |
without(double element) |
SynchronizedDoubleList |
withoutAll(com.gs.collections.api.DoubleIterable elements) |
add, addAll, addAll, allSatisfy, anySatisfy, appendString, appendString, appendString, average, clear, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, forEach, getDoubleCollection, getLock, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, notEmpty, remove, removeAll, removeAll, size, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, remove, removeAll, removeAllallSatisfy, anySatisfy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListpublic double get(int index)
get in interface com.gs.collections.api.list.primitive.DoubleListpublic double getFirst()
getFirst in interface com.gs.collections.api.list.primitive.DoubleListpublic double getLast()
getLast in interface com.gs.collections.api.list.primitive.DoubleListpublic int indexOf(double value)
indexOf in interface com.gs.collections.api.list.primitive.DoubleListpublic int lastIndexOf(double value)
lastIndexOf in interface com.gs.collections.api.list.primitive.DoubleListpublic void addAtIndex(int index,
double element)
addAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
double... source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic boolean addAllAtIndex(int index,
com.gs.collections.api.DoubleIterable source)
addAllAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic double removeAtIndex(int index)
removeAtIndex in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic double set(int index,
double element)
set in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic SynchronizedDoubleList with(double element)
with in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwith in interface com.gs.collections.api.list.primitive.MutableDoubleListwith in class AbstractSynchronizedDoubleCollectionpublic SynchronizedDoubleList without(double element)
without in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwithout in interface com.gs.collections.api.list.primitive.MutableDoubleListwithout in class AbstractSynchronizedDoubleCollectionpublic SynchronizedDoubleList withAll(com.gs.collections.api.DoubleIterable elements)
withAll in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwithAll in interface com.gs.collections.api.list.primitive.MutableDoubleListwithAll in class AbstractSynchronizedDoubleCollectionpublic SynchronizedDoubleList withoutAll(com.gs.collections.api.DoubleIterable elements)
withoutAll in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionwithoutAll in interface com.gs.collections.api.list.primitive.MutableDoubleListwithoutAll in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList select(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
select in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionselect in interface com.gs.collections.api.DoubleIterableselect in interface com.gs.collections.api.list.primitive.DoubleListselect in interface com.gs.collections.api.list.primitive.MutableDoubleListselect in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList reject(com.gs.collections.api.block.predicate.primitive.DoublePredicate predicate)
reject in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionreject in interface com.gs.collections.api.DoubleIterablereject in interface com.gs.collections.api.list.primitive.DoubleListreject in interface com.gs.collections.api.list.primitive.MutableDoubleListreject in class AbstractSynchronizedDoubleCollectionpublic <V> com.gs.collections.api.list.MutableList<V> collect(com.gs.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function)
collect in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectioncollect in interface com.gs.collections.api.DoubleIterablecollect in interface com.gs.collections.api.list.primitive.DoubleListcollect in interface com.gs.collections.api.list.primitive.MutableDoubleListcollect in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList sortThis()
com.gs.collections.api.list.primitive.MutableDoubleListsortThis in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic double dotProduct(com.gs.collections.api.list.primitive.DoubleList list)
dotProduct in interface com.gs.collections.api.list.primitive.DoubleListpublic boolean equals(java.lang.Object otherList)
com.gs.collections.api.list.primitive.DoubleListList.equals(Object).equals in interface com.gs.collections.api.list.primitive.DoubleListequals in class java.lang.Objectpublic int hashCode()
com.gs.collections.api.list.primitive.DoubleListList.hashCode().hashCode in interface com.gs.collections.api.list.primitive.DoubleListhashCode in class java.lang.Objectpublic com.gs.collections.api.LazyDoubleIterable asLazy()
asLazy in interface com.gs.collections.api.DoubleIterableasLazy in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionasUnmodifiable in interface com.gs.collections.api.list.primitive.MutableDoubleListasUnmodifiable in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList asSynchronized()
asSynchronized in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectionasSynchronized in interface com.gs.collections.api.list.primitive.MutableDoubleListasSynchronized in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.ImmutableDoubleList toImmutable()
com.gs.collections.api.list.primitive.MutableDoubleListtoImmutable in interface com.gs.collections.api.collection.primitive.MutableDoubleCollectiontoImmutable in interface com.gs.collections.api.list.primitive.DoubleListtoImmutable in interface com.gs.collections.api.list.primitive.MutableDoubleListtoImmutable in class AbstractSynchronizedDoubleCollectionpublic com.gs.collections.api.list.primitive.MutableDoubleList reverseThis()
reverseThis in interface com.gs.collections.api.list.primitive.MutableDoubleListpublic com.gs.collections.api.list.primitive.MutableDoubleList toReversed()
toReversed in interface com.gs.collections.api.list.primitive.MutableDoubleList