@ThreadSafe public abstract class AbstractSynchronizedDoubleCollection extends Object implements org.eclipse.collections.api.collection.primitive.MutableDoubleCollection, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(double newItem) |
boolean |
addAll(double... source) |
boolean |
addAll(org.eclipse.collections.api.DoubleIterable source) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyDoubleIterable |
asLazy() |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
asSynchronized() |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
boolean |
contains(double value) |
boolean |
containsAll(double... source) |
boolean |
containsAll(org.eclipse.collections.api.DoubleIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate,
double ifNone) |
org.eclipse.collections.api.iterator.MutableDoubleIterator |
doubleIterator()
Must be called in a synchronized block.
|
void |
each(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
double |
max() |
double |
maxIfEmpty(double defaultValue) |
double |
median() |
double |
min() |
double |
minIfEmpty(double defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
notEmpty() |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
remove(double value) |
boolean |
removeAll(double... source) |
boolean |
removeAll(org.eclipse.collections.api.DoubleIterable source) |
boolean |
retainAll(double... source) |
boolean |
retainAll(org.eclipse.collections.api.DoubleIterable source) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
int |
size() |
double |
sum() |
double[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
toBag() |
org.eclipse.collections.api.collection.primitive.ImmutableDoubleCollection |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toList() |
org.eclipse.collections.api.set.primitive.MutableDoubleSet |
toSet() |
double[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toSortedList() |
String |
toString() |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
with(double element) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
withAll(org.eclipse.collections.api.DoubleIterable elements) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
without(double element) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
withoutAll(org.eclipse.collections.api.DoubleIterable elements) |
public int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection 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.DoubleIterablepublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection 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.DoubleIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<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.DoubleIterablepublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection with(double element)
with in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection without(double element)
without in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection withAll(org.eclipse.collections.api.DoubleIterable elements)
withAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection withoutAll(org.eclipse.collections.api.DoubleIterable elements)
withoutAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection asSynchronized()
asSynchronized in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.collection.primitive.ImmutableDoubleCollection toImmutable()
toImmutable in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.LazyDoubleIterable asLazy()
asLazy in interface org.eclipse.collections.api.DoubleIterablepublic boolean contains(double value)
contains in interface org.eclipse.collections.api.DoubleIterablepublic boolean containsAll(double... source)
containsAll in interface org.eclipse.collections.api.DoubleIterablepublic boolean containsAll(org.eclipse.collections.api.DoubleIterable source)
containsAll in interface org.eclipse.collections.api.DoubleIterablepublic boolean add(double newItem)
add in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean addAll(double... source)
addAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean addAll(org.eclipse.collections.api.DoubleIterable source)
addAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean remove(double value)
remove in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean removeAll(org.eclipse.collections.api.DoubleIterable source)
removeAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean removeAll(double... source)
removeAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean retainAll(org.eclipse.collections.api.DoubleIterable source)
retainAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic boolean retainAll(double... source)
retainAll in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectionpublic org.eclipse.collections.api.iterator.MutableDoubleIterator doubleIterator()
doubleIterator in interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollectiondoubleIterator in interface org.eclipse.collections.api.DoubleIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEach in interface org.eclipse.collections.api.DoubleIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
each in interface org.eclipse.collections.api.DoubleIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
count in interface org.eclipse.collections.api.DoubleIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
anySatisfy in interface org.eclipse.collections.api.DoubleIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
allSatisfy in interface org.eclipse.collections.api.DoubleIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.DoubleIterablepublic double detectIfNone(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate,
double ifNone)
detectIfNone in interface org.eclipse.collections.api.DoubleIterablepublic double sum()
sum in interface org.eclipse.collections.api.DoubleIterablepublic double max()
max in interface org.eclipse.collections.api.DoubleIterablepublic double min()
min in interface org.eclipse.collections.api.DoubleIterablepublic double minIfEmpty(double defaultValue)
minIfEmpty in interface org.eclipse.collections.api.DoubleIterablepublic double maxIfEmpty(double defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.DoubleIterablepublic double average()
average in interface org.eclipse.collections.api.DoubleIterablepublic double median()
median in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList toSortedList()
toSortedList in interface org.eclipse.collections.api.DoubleIterablepublic double[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.DoubleIterablepublic double[] toArray()
toArray in interface org.eclipse.collections.api.DoubleIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList toList()
toList in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.set.primitive.MutableDoubleSet toSet()
toSet in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.bag.primitive.MutableDoubleBag toBag()
toBag in interface org.eclipse.collections.api.DoubleIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.DoubleIterableCopyright © 2004–2018. All rights reserved.