Class TCloseHandlingStream<T>
java.lang.Object
org.teavm.classlib.java.util.stream.impl.TSimpleStreamImpl<T>
org.teavm.classlib.java.util.stream.impl.TCloseHandlingStream<T>
- All Implemented Interfaces:
AutoCloseable, TBaseStream<T, TStream<T>>, TStream<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface TStream
TStream.Builder<T> -
Constructor Summary
ConstructorsConstructorDescriptionTCloseHandlingStream(TSimpleStreamImpl<T> innerStream, Runnable closeHandler) -
Method Summary
Methods inherited from class TSimpleStreamImpl
allMatch, anyMatch, collect, collect, count, distinct, dropWhile, estimateSize, 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TStream
mapMulti, mapMultiToDouble, mapMultiToInt, mapMultiToLong, toList
-
Constructor Details
-
TCloseHandlingStream
-
-
Method Details
-
next
- Specified by:
nextin classTSimpleStreamImpl<T>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceTBaseStream<T, TStream<T>>- Overrides:
closein classTSimpleStreamImpl<T>
-