public class TCloseHandlingLongStream extends TSimpleLongStreamImpl
TLongStream.Builder
Constructor and Description |
---|
TCloseHandlingLongStream(TSimpleLongStreamImpl innerStream,
Runnable closeHandler) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
next(LongPredicate consumer) |
allMatch, anyMatch, asDoubleStream, average, boxed, collect, count, distinct, estimateSize, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, concat, empty, generate, iterate, of, of, range, rangeClosed
public TCloseHandlingLongStream(TSimpleLongStreamImpl innerStream, Runnable closeHandler)
public boolean next(LongPredicate consumer)
next
in class TSimpleLongStreamImpl
public void close() throws Exception
close
in interface AutoCloseable
close
in class TSimpleLongStreamImpl
Exception
Copyright © 2019. All rights reserved.