Class AbstractUnmodifiableDoubleCollection
java.lang.Object
org.eclipse.collections.impl.collection.mutable.primitive.AbstractUnmodifiableDoubleCollection
- All Implemented Interfaces:
Serializable,MutableDoubleCollection,DoubleIterable,PrimitiveIterable
- Direct Known Subclasses:
UnmodifiableDoubleBag,UnmodifiableDoubleCollection,UnmodifiableDoubleList,UnmodifiableDoubleSet
public abstract class AbstractUnmodifiableDoubleCollection
extends Object
implements MutableDoubleCollection, Serializable
This file was automatically generated from template file abstractUnmodifiablePrimitiveCollection.stg.
- Since:
- 3.1.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(double newItem) booleanaddAll(double... source) booleanaddAll(DoubleIterable source) booleanallSatisfy(DoublePredicate predicate) booleananySatisfy(DoublePredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()chunk(int size) voidclear()<V> MutableCollection<V>collect(DoubleToObjectFunction<? extends V> function) booleancontains(double value) booleancontainsAll(double... source) booleancontainsAll(DoubleIterable source) booleancontainsAny(double... source) booleancontainsAny(DoubleIterable source) booleancontainsNone(double... source) booleancontainsNone(DoubleIterable source) intcount(DoublePredicate predicate) doubledetectIfNone(DoublePredicate predicate, double ifNone) voideach(DoubleProcedure procedure) <T> TinjectInto(T injectedValue, ObjectDoubleToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) doublemax()doublemaxIfEmpty(double defaultValue) doublemedian()doublemin()doubleminIfEmpty(double defaultValue) booleannoneSatisfy(DoublePredicate predicate) booleannotEmpty()doublereduce(DoubleDoubleToDoubleFunction accumulator) doublereduceIfEmpty(DoubleDoubleToDoubleFunction accumulator, double defaultValue) reject(DoublePredicate predicate) booleanremove(double value) booleanremoveAll(double... source) booleanremoveAll(DoubleIterable source) booleanremoveIf(DoublePredicate predicate) booleanretainAll(double... source) booleanretainAll(DoubleIterable source) select(DoublePredicate predicate) intsize()doublesum()double[]toArray()double[]toArray(double[] target) toBag()toList()toSet()double[]toString()with(double element) withAll(DoubleIterable elements) without(double element) withoutAll(DoubleIterable elements) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.DoubleIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableDoubleCollection
newEmpty, tap
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
clear
public void clear()- Specified by:
clearin interfaceMutableDoubleCollection
-
contains
public boolean contains(double value) - Specified by:
containsin interfaceDoubleIterable
-
containsAll
public boolean containsAll(double... source) - Specified by:
containsAllin interfaceDoubleIterable
-
containsAll
- Specified by:
containsAllin interfaceDoubleIterable
-
containsAny
public boolean containsAny(double... source) - Specified by:
containsAnyin interfaceDoubleIterable
-
containsAny
- Specified by:
containsAnyin interfaceDoubleIterable
-
containsNone
public boolean containsNone(double... source) - Specified by:
containsNonein interfaceDoubleIterable
-
containsNone
- Specified by:
containsNonein interfaceDoubleIterable
-
add
public boolean add(double newItem) - Specified by:
addin interfaceMutableDoubleCollection
-
addAll
public boolean addAll(double... source) - Specified by:
addAllin interfaceMutableDoubleCollection
-
addAll
- Specified by:
addAllin interfaceMutableDoubleCollection
-
remove
public boolean remove(double value) - Specified by:
removein interfaceMutableDoubleCollection
-
removeIf
- Specified by:
removeIfin interfaceMutableDoubleCollection- Since:
- 9.1
-
removeAll
- Specified by:
removeAllin interfaceMutableDoubleCollection
-
removeAll
public boolean removeAll(double... source) - Specified by:
removeAllin interfaceMutableDoubleCollection
-
retainAll
- Specified by:
retainAllin interfaceMutableDoubleCollection
-
retainAll
public boolean retainAll(double... source) - Specified by:
retainAllin interfaceMutableDoubleCollection
-
doubleIterator
- Specified by:
doubleIteratorin interfaceDoubleIterable- Specified by:
doubleIteratorin interfaceMutableDoubleCollection
-
each
- Specified by:
eachin interfaceDoubleIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceDoubleIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceDoubleIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceDoubleIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceDoubleIterable
-
select
- Specified by:
selectin interfaceDoubleIterable- Specified by:
selectin interfaceMutableDoubleCollection
-
reject
- Specified by:
rejectin interfaceDoubleIterable- Specified by:
rejectin interfaceMutableDoubleCollection
-
collect
- Specified by:
collectin interfaceDoubleIterable- Specified by:
collectin interfaceMutableDoubleCollection
-
with
- Specified by:
within interfaceMutableDoubleCollection
-
without
- Specified by:
withoutin interfaceMutableDoubleCollection
-
withAll
- Specified by:
withAllin interfaceMutableDoubleCollection
-
withoutAll
- Specified by:
withoutAllin interfaceMutableDoubleCollection
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableDoubleCollection
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableDoubleCollection
-
toImmutable
- Specified by:
toImmutablein interfaceMutableDoubleCollection
-
asLazy
- Specified by:
asLazyin interfaceDoubleIterable
-
detectIfNone
- Specified by:
detectIfNonein interfaceDoubleIterable
-
sum
public double sum()- Specified by:
sumin interfaceDoubleIterable
-
max
public double max()- Specified by:
maxin interfaceDoubleIterable
-
min
public double min()- Specified by:
minin interfaceDoubleIterable
-
minIfEmpty
public double minIfEmpty(double defaultValue) - Specified by:
minIfEmptyin interfaceDoubleIterable
-
maxIfEmpty
public double maxIfEmpty(double defaultValue) - Specified by:
maxIfEmptyin interfaceDoubleIterable
-
average
public double average()- Specified by:
averagein interfaceDoubleIterable
-
median
public double median()- Specified by:
medianin interfaceDoubleIterable
-
toSortedList
- Specified by:
toSortedListin interfaceDoubleIterable
-
toSortedArray
public double[] toSortedArray()- Specified by:
toSortedArrayin interfaceDoubleIterable
-
toArray
public double[] toArray()- Specified by:
toArrayin interfaceDoubleIterable
-
toArray
public double[] toArray(double[] target) - Specified by:
toArrayin interfaceDoubleIterable
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
toList
- Specified by:
toListin interfaceDoubleIterable
-
toSet
- Specified by:
toSetin interfaceDoubleIterable
-
toBag
- Specified by:
toBagin interfaceDoubleIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectDoubleToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceDoubleIterable
-
reduce
- Specified by:
reducein interfaceDoubleIterable
-
reduceIfEmpty
- Specified by:
reduceIfEmptyin interfaceDoubleIterable
-
chunk
- Specified by:
chunkin interfaceDoubleIterable
-