Class TSimpleDoubleStreamImpl
java.lang.Object
org.teavm.classlib.java.util.stream.doubleimpl.TSimpleDoubleStreamImpl
- All Implemented Interfaces:
AutoCloseable,TBaseStream<Double,,TDoubleStream> TDoubleStream
- Direct Known Subclasses:
TArrayDoubleStreamImpl,TCloseHandlingDoubleStream,TEmptyDoubleStreamImpl,TFlatMappingDoubleStreamImpl,TFlatMappingToDoubleStreamImpl,TGenerateDoubleStream,TGenericConcatDoubleStream,TIntAsDoubleStream,TIterateDoubleStream,TLimitingDoubleStreamImpl,TLongAsDoubleStream,TMappingToDoubleStreamImpl,TMappingToDoubleStreamImpl,TMappingToDoubleStreamImpl,TSingleDoubleStreamImpl,TSkippingDoubleStreamImpl,TSpecializedConcatDoubleStream,TWrappingDoubleStreamImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.teavm.classlib.java.util.stream.TDoubleStream
TDoubleStream.Builder, TDoubleStream.DoubleMapMultiConsumer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallMatch(DoublePredicate predicate) booleananyMatch(DoublePredicate predicate) average()boxed()voidclose()<R> Rcollect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R, R> combiner) longcount()distinct()dropWhile(DoublePredicate predicate) protected intfilter(DoublePredicate predicate) findAny()flatMap(DoubleFunction<? extends TDoubleStream> mapper) voidforEach(DoubleConsumer action) voidforEachOrdered(DoubleConsumer action) booleaniterator()limit(long maxSize) map(DoubleUnaryOperator mapper) mapToInt(DoubleToIntFunction mapper) mapToLong(DoubleToLongFunction mapper) <U> TStream<U> mapToObj(DoubleFunction<? extends U> mapper) max()min()abstract booleannext(DoublePredicate consumer) booleannoneMatch(DoublePredicate predicate) parallel()peek(DoubleConsumer action) doublereduce(double identity, DoubleBinaryOperator accumulator) reduce(DoubleBinaryOperator accumulator) skip(long n) sorted()doublesum()takeWhile(DoublePredicate predicate) double[]toArray()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.classlib.java.util.stream.TDoubleStream
mapMulti
-
Constructor Details
-
TSimpleDoubleStreamImpl
public TSimpleDoubleStreamImpl()
-
-
Method Details
-
filter
- Specified by:
filterin interfaceTDoubleStream
-
map
- Specified by:
mapin interfaceTDoubleStream
-
mapToObj
- Specified by:
mapToObjin interfaceTDoubleStream
-
mapToInt
- Specified by:
mapToIntin interfaceTDoubleStream
-
mapToLong
- Specified by:
mapToLongin interfaceTDoubleStream
-
flatMap
- Specified by:
flatMapin interfaceTDoubleStream
-
distinct
- Specified by:
distinctin interfaceTDoubleStream
-
sorted
- Specified by:
sortedin interfaceTDoubleStream
-
peek
- Specified by:
peekin interfaceTDoubleStream
-
limit
- Specified by:
limitin interfaceTDoubleStream
-
takeWhile
- Specified by:
takeWhilein interfaceTDoubleStream
-
dropWhile
- Specified by:
dropWhilein interfaceTDoubleStream
-
skip
- Specified by:
skipin interfaceTDoubleStream
-
forEach
- Specified by:
forEachin interfaceTDoubleStream
-
forEachOrdered
- Specified by:
forEachOrderedin interfaceTDoubleStream
-
toArray
public double[] toArray()- Specified by:
toArrayin interfaceTDoubleStream
-
reduce
- Specified by:
reducein interfaceTDoubleStream
-
reduce
- Specified by:
reducein interfaceTDoubleStream
-
collect
public <R> R collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R, R> combiner) - Specified by:
collectin interfaceTDoubleStream
-
min
- Specified by:
minin interfaceTDoubleStream
-
max
- Specified by:
maxin interfaceTDoubleStream
-
count
public long count()- Specified by:
countin interfaceTDoubleStream
-
sum
public double sum()- Specified by:
sumin interfaceTDoubleStream
-
average
- Specified by:
averagein interfaceTDoubleStream
-
summaryStatistics
- Specified by:
summaryStatisticsin interfaceTDoubleStream
-
anyMatch
- Specified by:
anyMatchin interfaceTDoubleStream
-
allMatch
- Specified by:
allMatchin interfaceTDoubleStream
-
noneMatch
- Specified by:
noneMatchin interfaceTDoubleStream
-
findFirst
- Specified by:
findFirstin interfaceTDoubleStream
-
findAny
- Specified by:
findAnyin interfaceTDoubleStream
-
iterator
- Specified by:
iteratorin interfaceTBaseStream<Double,TDoubleStream> - Specified by:
iteratorin interfaceTDoubleStream
-
spliterator
- Specified by:
spliteratorin interfaceTBaseStream<Double,TDoubleStream> - Specified by:
spliteratorin interfaceTDoubleStream
-
boxed
- Specified by:
boxedin interfaceTDoubleStream
-
isParallel
public boolean isParallel()- Specified by:
isParallelin interfaceTBaseStream<Double,TDoubleStream>
-
sequential
- Specified by:
sequentialin interfaceTBaseStream<Double,TDoubleStream>
-
parallel
- Specified by:
parallelin interfaceTBaseStream<Double,TDoubleStream>
-
unordered
- Specified by:
unorderedin interfaceTBaseStream<Double,TDoubleStream>
-
onClose
- Specified by:
onClosein interfaceTBaseStream<Double,TDoubleStream>
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
estimateSize
protected int estimateSize() -
next
-