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 TypeMethodDescriptionboolean
allMatch
(IntPredicate predicate) boolean
anyMatch
(IntPredicate predicate) average()
boxed()
void
close()
<R> R
collect
(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R, R> combiner) long
count()
distinct()
dropWhile
(IntPredicate predicate) filter
(IntPredicate predicate) findAny()
flatMap
(IntFunction<? extends IntStream> mapper) void
forEach
(IntConsumer action) void
forEachOrdered
(IntConsumer action) boolean
iterator()
limit
(long maxSize) map
(IntUnaryOperator mapper) mapToDouble
(IntToDoubleFunction mapper) mapToLong
(IntToLongFunction mapper) <U> RecordStream.Aux<U>
mapToObj
(IntFunction<? extends U> mapper) max()
min()
boolean
noneMatch
(IntPredicate predicate) parallel()
peek
(IntConsumer action) int
reduce
(int identity, IntBinaryOperator op) skip
(long n) sorted()
int
sum()
takeWhile
(IntPredicate predicate) int[]
toArray()
-
Method Details
-
takeWhile
-
dropWhile
-
filter
-
map
-
mapToObj
-
mapToLong
-
mapToDouble
- Specified by:
mapToDouble
in interfaceIntStream
-
flatMap
-
distinct
-
sorted
-
peek
-
limit
-
skip
-
forEach
-
forEachOrdered
- Specified by:
forEachOrdered
in interfaceIntStream
-
toArray
public int[] toArray() -
reduce
-
reduce
-
collect
-
sum
public int sum() -
min
-
max
-
count
public long count() -
average
-
summaryStatistics
- Specified by:
summaryStatistics
in interfaceIntStream
-
anyMatch
-
allMatch
-
noneMatch
-
findFirst
-
findAny
-
asLongStream
- Specified by:
asLongStream
in interfaceIntStream
-
asDoubleStream
- Specified by:
asDoubleStream
in interfaceIntStream
-
boxed
-
sequential
- Specified by:
sequential
in interfaceBaseStream<Integer,
IntStream> - Specified by:
sequential
in interfaceIntStream
-
parallel
-
unordered
- Specified by:
unordered
in interfaceBaseStream<Integer,
IntStream>
-
onClose
- Specified by:
onClose
in interfaceBaseStream<Integer,
IntStream>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBaseStream<Integer,
IntStream>
-
iterator
-
spliterator
- Specified by:
spliterator
in interfaceBaseStream<Integer,
IntStream> - Specified by:
spliterator
in interfaceIntStream
-
isParallel
public boolean isParallel()- Specified by:
isParallel
in interfaceBaseStream<Integer,
IntStream>
-