Package io.avery.vinyl
Class RecordStream.AuxInt
java.lang.Object
io.avery.vinyl.RecordStream.AuxInt
- All Implemented Interfaces:
AutoCloseable,BaseStream<Integer,,IntStream> IntStream
- Enclosing class:
RecordStream
An auxiliary stream of ints that may readily be converted to or from a
record-stream.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.stream.IntStream
IntStream.Builder -
Method Summary
Modifier and TypeMethodDescriptionbooleanallMatch(IntPredicate predicate) booleananyMatch(IntPredicate predicate) average()boxed()voidclose()<R> Rcollect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combiner) longcount()distinct()dropWhile(IntPredicate predicate) filter(IntPredicate predicate) findAny()flatMap(IntFunction<? extends IntStream> mapper) voidforEach(IntConsumer action) voidforEachOrdered(IntConsumer action) booleaniterator()limit(long maxSize) map(IntUnaryOperator mapper) mapToDouble(IntToDoubleFunction mapper) mapToLong(IntToLongFunction mapper) <U> RecordStream.Aux<U>mapToObj(IntFunction<? extends U> mapper) max()min()booleannoneMatch(IntPredicate predicate) parallel()peek(IntConsumer action) intreduce(int identity, IntBinaryOperator op) skip(long n) sorted()intsum()takeWhile(IntPredicate predicate) int[]toArray()
-
Method Details
-
takeWhile
-
dropWhile
-
filter
-
map
-
mapToObj
-
mapToLong
-
mapToDouble
- Specified by:
mapToDoublein interfaceIntStream
-
flatMap
-
distinct
-
sorted
-
peek
-
limit
-
skip
-
forEach
-
forEachOrdered
- Specified by:
forEachOrderedin interfaceIntStream
-
toArray
public int[] toArray() -
reduce
-
reduce
-
collect
-
sum
public int sum() -
min
-
max
-
count
public long count() -
average
-
summaryStatistics
- Specified by:
summaryStatisticsin interfaceIntStream
-
anyMatch
-
allMatch
-
noneMatch
-
findFirst
-
findAny
-
asLongStream
- Specified by:
asLongStreamin interfaceIntStream
-
asDoubleStream
- Specified by:
asDoubleStreamin interfaceIntStream
-
boxed
-
sequential
- Specified by:
sequentialin interfaceBaseStream<Integer,IntStream> - Specified by:
sequentialin interfaceIntStream
-
parallel
-
unordered
- Specified by:
unorderedin interfaceBaseStream<Integer,IntStream>
-
onClose
- Specified by:
onClosein interfaceBaseStream<Integer,IntStream>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBaseStream<Integer,IntStream>
-
iterator
-
spliterator
- Specified by:
spliteratorin interfaceBaseStream<Integer,IntStream> - Specified by:
spliteratorin interfaceIntStream
-
isParallel
public boolean isParallel()- Specified by:
isParallelin interfaceBaseStream<Integer,IntStream>
-