Class TMappingToLongStreamImpl
java.lang.Object
org.teavm.classlib.java.util.stream.longimpl.TSimpleLongStreamImpl
org.teavm.classlib.java.util.stream.doubleimpl.TMappingToLongStreamImpl
- All Implemented Interfaces:
AutoCloseable
,TBaseStream<Long,
,TLongStream> TLongStream
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.teavm.classlib.java.util.stream.TLongStream
TLongStream.Builder, TLongStream.LongMapMultiConsumer
-
Constructor Summary
ConstructorsConstructorDescriptionTMappingToLongStreamImpl
(TSimpleDoubleStreamImpl source, DoubleToLongFunction mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
count()
protected int
boolean
next
(LongPredicate consumer) Methods inherited from class org.teavm.classlib.java.util.stream.longimpl.TSimpleLongStreamImpl
allMatch, anyMatch, asDoubleStream, average, boxed, collect, distinct, dropWhile, filter, findAny, findFirst, flatMap, forEach, forEachOrdered, isParallel, iterator, limit, map, mapToDouble, mapToInt, mapToObj, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, sequential, skip, sorted, spliterator, sum, summaryStatistics, takeWhile, toArray, unordered
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.teavm.classlib.java.util.stream.TLongStream
mapMulti
-
Constructor Details
-
TMappingToLongStreamImpl
-
-
Method Details
-
next
- Specified by:
next
in classTSimpleLongStreamImpl
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classTSimpleLongStreamImpl
- Throws:
Exception
-
estimateSize
protected int estimateSize()- Overrides:
estimateSize
in classTSimpleLongStreamImpl
-
count
public long count()- Specified by:
count
in interfaceTLongStream
- Overrides:
count
in classTSimpleLongStreamImpl
-