Class AutoCloseLongStream
java.lang.Object
com.apptasticsoftware.rssreader.internal.stream.AbstractAutoCloseStream<Long,LongStream>
com.apptasticsoftware.rssreader.internal.stream.AutoCloseLongStream
- All Implemented Interfaces:
AutoCloseable,BaseStream<Long,,LongStream> LongStream
public class AutoCloseLongStream
extends AbstractAutoCloseStream<Long,LongStream>
implements LongStream
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.stream.LongStream
LongStream.Builder, LongStream.LongMapMultiConsumer -
Method Summary
Modifier and TypeMethodDescriptionbooleanallMatch(LongPredicate predicate) booleananyMatch(LongPredicate predicate) average()boxed()<R> Rcollect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R, R> combiner) longcount()distinct()filter(LongPredicate predicate) findAny()flatMap(LongFunction<? extends LongStream> mapper) voidforEach(LongConsumer action) voidforEachOrdered(LongConsumer action) booleaniterator()limit(long maxSize) map(LongUnaryOperator mapper) mapToDouble(LongToDoubleFunction mapper) mapToInt(LongToIntFunction mapper) <U> Stream<U> mapToObj(LongFunction<? extends U> mapper) max()min()booleannoneMatch(LongPredicate predicate) parallel()peek(LongConsumer action) longreduce(long identity, LongBinaryOperator op) skip(long n) sorted()longsum()long[]toArray()Methods inherited from class com.apptasticsoftware.rssreader.internal.stream.AbstractAutoCloseStream
close, streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.stream.BaseStream
closeMethods inherited from interface java.util.stream.LongStream
dropWhile, mapMulti, takeWhile
-
Method Details
-
filter
- Specified by:
filterin interfaceLongStream
-
map
- Specified by:
mapin interfaceLongStream
-
mapToObj
- Specified by:
mapToObjin interfaceLongStream
-
mapToInt
- Specified by:
mapToIntin interfaceLongStream
-
mapToDouble
- Specified by:
mapToDoublein interfaceLongStream
-
flatMap
- Specified by:
flatMapin interfaceLongStream
-
distinct
- Specified by:
distinctin interfaceLongStream
-
sorted
- Specified by:
sortedin interfaceLongStream
-
peek
- Specified by:
peekin interfaceLongStream
-
limit
- Specified by:
limitin interfaceLongStream
-
skip
- Specified by:
skipin interfaceLongStream
-
forEach
- Specified by:
forEachin interfaceLongStream
-
forEachOrdered
- Specified by:
forEachOrderedin interfaceLongStream
-
toArray
public long[] toArray()- Specified by:
toArrayin interfaceLongStream
-
reduce
- Specified by:
reducein interfaceLongStream
-
reduce
- Specified by:
reducein interfaceLongStream
-
collect
public <R> R collect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R, R> combiner) - Specified by:
collectin interfaceLongStream
-
sum
public long sum()- Specified by:
sumin interfaceLongStream
-
min
- Specified by:
minin interfaceLongStream
-
max
- Specified by:
maxin interfaceLongStream
-
count
public long count()- Specified by:
countin interfaceLongStream
-
average
- Specified by:
averagein interfaceLongStream
-
summaryStatistics
- Specified by:
summaryStatisticsin interfaceLongStream
-
anyMatch
- Specified by:
anyMatchin interfaceLongStream
-
allMatch
- Specified by:
allMatchin interfaceLongStream
-
noneMatch
- Specified by:
noneMatchin interfaceLongStream
-
findFirst
- Specified by:
findFirstin interfaceLongStream
-
findAny
- Specified by:
findAnyin interfaceLongStream
-
asDoubleStream
- Specified by:
asDoubleStreamin interfaceLongStream
-
boxed
- Specified by:
boxedin interfaceLongStream
-
sequential
- Specified by:
sequentialin interfaceBaseStream<Long,LongStream> - Specified by:
sequentialin interfaceLongStream
-
parallel
- Specified by:
parallelin interfaceBaseStream<Long,LongStream> - Specified by:
parallelin interfaceLongStream
-
iterator
- Specified by:
iteratorin interfaceBaseStream<Long,LongStream> - Specified by:
iteratorin interfaceLongStream
-
spliterator
- Specified by:
spliteratorin interfaceBaseStream<Long,LongStream> - Specified by:
spliteratorin interfaceLongStream
-
isParallel
public boolean isParallel()- Specified by:
isParallelin interfaceBaseStream<Long,LongStream>
-
unordered
- Specified by:
unorderedin interfaceBaseStream<Long,LongStream>
-
onClose
- Specified by:
onClosein interfaceBaseStream<Long,LongStream>
-