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 org.teavm.classlib.java.util.stream.TStream
TStream.Builder<T> -
Constructor Summary
ConstructorsConstructorDescriptionTCloseHandlingStream(TSimpleStreamImpl<T> innerStream, Runnable closeHandler) -
Method Summary
Methods inherited from class org.teavm.classlib.java.util.stream.impl.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 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
-
TCloseHandlingStream
-
-
Method Details
-
next
- Specified by:
nextin classTSimpleStreamImpl<T>
-
close
- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classTSimpleStreamImpl<T>- Throws:
Exception
-