Class TSortedStreamImpl<T>
java.lang.Object
org.teavm.classlib.java.util.stream.impl.TSimpleStreamImpl<T>
org.teavm.classlib.java.util.stream.impl.TSortedStreamImpl<T>
- All Implemented Interfaces:
AutoCloseable,TBaseStream<T,,TStream<T>> TStream<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.teavm.classlib.java.util.stream.TStream
TStream.Builder<T> -
Constructor Summary
ConstructorsConstructorDescriptionTSortedStreamImpl(TSimpleStreamImpl<T> sourceStream, Comparator<? super T> comparator) -
Method Summary
Methods inherited from class org.teavm.classlib.java.util.stream.impl.TSimpleStreamImpl
allMatch, anyMatch, collect, collect, count, distinct, dropWhile, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, isParallel, iterator, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, reduce, sequential, skip, sorted, sorted, spliterator, takeWhile, toArray, toArray, unorderedMethods 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.TStream
mapMulti, mapMultiToDouble, mapMultiToInt, mapMultiToLong, toList
-
Constructor Details
-
TSortedStreamImpl
-
-
Method Details
-
next
- Specified by:
nextin classTSimpleStreamImpl<T>
-
estimateSize
protected int estimateSize()- Overrides:
estimateSizein classTSimpleStreamImpl<T>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceTBaseStream<T,TStream<T>> - Overrides:
closein classTSimpleStreamImpl<T>
-