java.lang.Object
io.jenetics.internal.util.StreamProxy<T>
- All Implemented Interfaces:
AutoCloseable,BaseStream<T,,Stream<T>> Stream<T>
- Direct Known Subclasses:
EvolutionStreamImpl
- Since:
- 3.0
- Version:
- 4.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidclose()<R> Rcollect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> combiner) <R,A> R longcount()distinct()findAny()<R> Stream<R>flatMapToDouble(Function<? super T, ? extends DoubleStream> mapper) flatMapToInt(Function<? super T, ? extends IntStream> mapper) flatMapToLong(Function<? super T, ? extends LongStream> mapper) voidvoidforEachOrdered(Consumer<? super T> action) booleaniterator()limit(long maxSize) <R> Stream<R>mapToDouble(ToDoubleFunction<? super T> mapper) mapToInt(ToIntFunction<? super T> mapper) mapToLong(ToLongFunction<? super T> mapper) max(Comparator<? super T> comparator) min(Comparator<? super T> comparator) booleanparallel()reduce(BinaryOperator<T> accumulator) reduce(T identity, BinaryOperator<T> accumulator) <U> Ureduce(U identity, BiFunction<U, ? super T, U> accumulator, BinaryOperator<U> combiner) skip(long n) sorted()sorted(Comparator<? super T> comparator) Object[]toArray()<A> A[]toArray(IntFunction<A[]> generator) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.stream.Stream
mapMulti, mapMultiToDouble, mapMultiToInt, mapMultiToLong, toList
-
Constructor Details
-
StreamProxy
-
-
Method Details
-
limit
-
filter
-
allMatch
-
anyMatch
-
collect
-
collect
public <R> R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> combiner) -
count
-
distinct
-
findAny
-
findFirst
-
flatMap
-
flatMapToDouble
- Specified by:
flatMapToDoublein interfaceStream<T>
-
flatMapToInt
- Specified by:
flatMapToIntin interfaceStream<T>
-
flatMapToLong
- Specified by:
flatMapToLongin interfaceStream<T>
-
forEach
-
forEachOrdered
- Specified by:
forEachOrderedin interfaceStream<T>
-
map
-
mapToDouble
- Specified by:
mapToDoublein interfaceStream<T>
-
mapToInt
-
mapToLong
-
max
-
min
-
noneMatch
-
peek
-
reduce
-
reduce
-
reduce
-
skip
-
sorted
-
sorted
-
toArray
-
toArray
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBaseStream<T,Stream<T>>
-
isParallel
- Specified by:
isParallelin interfaceBaseStream<T,Stream<T>>
-
iterator
- Specified by:
iteratorin interfaceBaseStream<T,Stream<T>>
-
onClose
- Specified by:
onClosein interfaceBaseStream<T,Stream<T>>
-
parallel
- Specified by:
parallelin interfaceBaseStream<T,Stream<T>>
-
sequential
- Specified by:
sequentialin interfaceBaseStream<T,Stream<T>>
-
spliterator
- Specified by:
spliteratorin interfaceBaseStream<T,Stream<T>>
-
unordered
- Specified by:
unorderedin interfaceBaseStream<T,Stream<T>>
-
takeWhile
-
dropWhile
-