public interface SequentialStreamOps<T>
Based on java.util.streams.SequentialStreamOps
.
Modifier and Type | Method and Description |
---|---|
boolean |
allMatch(Predicate<? super T> predicate) |
boolean |
anyMatch(Predicate<? super T> predicate) |
Stream<T> |
filter(Predicate<? super T> predicate) |
<R> Stream<R> |
flatMap(FlatMapper<? super T,R> mapper) |
<U> U |
fold(Factory<U> seedFactory,
Combiner<U,T,U> reducer,
BinaryOperator<U> combiner) |
<R> Stream<R> |
map(Mapper<? super T,? extends R> mapper) |
boolean |
noneMatch(Predicate<? super T> predicate) |
T |
reduce(T base,
BinaryOperator<T> op) |
<R> Stream<R> flatMap(FlatMapper<? super T,R> mapper)
T reduce(T base, BinaryOperator<T> op)
<U> U fold(Factory<U> seedFactory, Combiner<U,T,U> reducer, BinaryOperator<U> combiner)
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.