Class TEmptyLongStreamImpl
java.lang.Object
org.teavm.classlib.java.util.stream.longimpl.TSimpleLongStreamImpl
org.teavm.classlib.java.util.stream.longimpl.TEmptyLongStreamImpl
- 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
count()
protected int
boolean
next(LongPredicate consumer)
Methods inherited from class org.teavm.classlib.java.util.stream.longimpl.TSimpleLongStreamImpl
allMatch, anyMatch, asDoubleStream, average, boxed, close, collect, distinct, 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, toArray, unordered
-
Constructor Details
-
TEmptyLongStreamImpl
public TEmptyLongStreamImpl()
-
-
Method Details
-
next
- Specified by:
next
in classTSimpleLongStreamImpl
-
estimateSize
protected int estimateSize()- Overrides:
estimateSize
in classTSimpleLongStreamImpl
-
count
public long count()- Specified by:
count
in interfaceTLongStream
- Overrides:
count
in classTSimpleLongStreamImpl
-