Class AbstractLazyDoubleIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyDoubleIterable
- All Implemented Interfaces:
DoubleIterable,LazyDoubleIterable,PrimitiveIterable
- Direct Known Subclasses:
CollectBooleanToDoubleIterable,CollectByteToDoubleIterable,CollectCharToDoubleIterable,CollectDoubleIterable,CollectDoubleToDoubleIterable,CollectFloatToDoubleIterable,CollectIntToDoubleIterable,CollectLongToDoubleIterable,CollectShortToDoubleIterable,LazyDoubleIterableAdapter,ReverseDoubleIterable,SelectDoubleIterable,TapDoubleIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(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) <V> LazyIterable<V>collect(DoubleToObjectFunction<? extends V> function) collectBoolean(DoubleToBooleanFunction function) collectByte(DoubleToByteFunction function) collectChar(DoubleToCharFunction function) collectDouble(DoubleToDoubleFunction function) collectFloat(DoubleToFloatFunction function) collectInt(DoubleToIntFunction function) collectLong(DoubleToLongFunction function) collectShort(DoubleToShortFunction function) booleancontains(double value) booleancontainsAll(double... source) booleancontainsAll(DoubleIterable source) intcount(DoublePredicate predicate) doubledetectIfNone(DoublePredicate predicate, double ifNone) <V> LazyIterable<V>flatCollect(DoubleToObjectFunction<? extends Iterable<V>> function) <T> TinjectInto(T injectedValue, ObjectDoubleToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) doublemax()doublemaxIfEmpty(double ifEmpty) doublemedian()doublemin()doubleminIfEmpty(double ifEmpty) booleannoneSatisfy(DoublePredicate predicate) booleannotEmpty()reject(DoublePredicate predicate) select(DoublePredicate predicate) intsize()doublesum()tap(DoubleProcedure procedure) double[]toArray()toBag()toList()toSet()double[]toString()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, containsAny, containsAny, containsNone, containsNone, doubleIterator, each, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
AbstractLazyDoubleIterable
public AbstractLazyDoubleIterable()
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
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
-
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
-
select
- Specified by:
selectin interfaceDoubleIterable- Specified by:
selectin interfaceLazyDoubleIterable
-
reject
- Specified by:
rejectin interfaceDoubleIterable- Specified by:
rejectin interfaceLazyDoubleIterable
-
tap
- Specified by:
tapin interfaceDoubleIterable- Specified by:
tapin interfaceLazyDoubleIterable
-
collect
- Specified by:
collectin interfaceDoubleIterable- Specified by:
collectin interfaceLazyDoubleIterable
-
flatCollect
- Specified by:
flatCollectin interfaceLazyDoubleIterable
-
collectBoolean
- Specified by:
collectBooleanin interfaceLazyDoubleIterable- Since:
- 7.0
-
collectByte
- Specified by:
collectBytein interfaceLazyDoubleIterable- Since:
- 7.0
-
collectChar
- Specified by:
collectCharin interfaceLazyDoubleIterable- Since:
- 7.0
-
collectShort
- Specified by:
collectShortin interfaceLazyDoubleIterable- Since:
- 7.0
-
collectInt
- Specified by:
collectIntin interfaceLazyDoubleIterable- Since:
- 7.0
-
collectFloat
- Specified by:
collectFloatin interfaceLazyDoubleIterable- Since:
- 7.0
-
collectLong
- Specified by:
collectLongin interfaceLazyDoubleIterable- Since:
- 7.0
-
collectDouble
- Specified by:
collectDoublein interfaceLazyDoubleIterable- Since:
- 7.0
-
detectIfNone
- Specified by:
detectIfNonein interfaceDoubleIterable
-
count
- Specified by:
countin interfaceDoubleIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceDoubleIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceDoubleIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceDoubleIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectDoubleToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceDoubleIterable
-
chunk
- Specified by:
chunkin interfaceDoubleIterable
-
toArray
public double[] toArray()- Specified by:
toArrayin interfaceDoubleIterable
-
toList
- Specified by:
toListin interfaceDoubleIterable
-
toSet
- Specified by:
toSetin interfaceDoubleIterable
-
toBag
- Specified by:
toBagin interfaceDoubleIterable
-
sum
public double sum()- Specified by:
sumin interfaceDoubleIterable
-
max
public double max()- Specified by:
maxin interfaceDoubleIterable
-
maxIfEmpty
public double maxIfEmpty(double ifEmpty) - Specified by:
maxIfEmptyin interfaceDoubleIterable
-
min
public double min()- Specified by:
minin interfaceDoubleIterable
-
minIfEmpty
public double minIfEmpty(double ifEmpty) - Specified by:
minIfEmptyin interfaceDoubleIterable
-
average
public double average()- Specified by:
averagein interfaceDoubleIterable
-
median
public double median()- Specified by:
medianin interfaceDoubleIterable
-
toSortedArray
public double[] toSortedArray()- Specified by:
toSortedArrayin interfaceDoubleIterable
-
toSortedList
- Specified by:
toSortedListin interfaceDoubleIterable
-
asLazy
- Specified by:
asLazyin interfaceDoubleIterable
-