Interface Stream<T>
- All Superinterfaces:
AutoCloseable, BaseStream<T, Stream<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean<A,R> R longcount()distinct()static <T> Stream<T> empty()voidlimit(long maxSize) <R> Stream<R> booleanstatic <T> Stream<T> of(T value) static <T> Stream<T> of(T... values) reduce(T identity, BinaryOperator<T> accumulator) skip(long n) sorted()Object[]toArray()Methods inherited from interface BaseStream
close, iterator, onClose, parallel, sequential
-
Method Details
-
filter
-
map
-
sorted
-
distinct
-
limit
-
skip
-
forEach
-
toArray
Object[] toArray() -
reduce
-
collect
-
count
long count() -
anyMatch
-
allMatch
-
noneMatch
-
empty
-
of
-
of
-