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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
close()
<R> R
collect
(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> combiner) <R,
A> R long
count()
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) void
void
forEachOrdered
(Consumer<? super T> action) boolean
iterator()
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) boolean
parallel()
reduce
(BinaryOperator<T> accumulator) reduce
(T identity, BinaryOperator<T> accumulator) <U> U
reduce
(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, wait
Methods 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:
flatMapToDouble
in interfaceStream<T>
-
flatMapToInt
- Specified by:
flatMapToInt
in interfaceStream<T>
-
flatMapToLong
- Specified by:
flatMapToLong
in interfaceStream<T>
-
forEach
-
forEachOrdered
- Specified by:
forEachOrdered
in interfaceStream<T>
-
map
-
mapToDouble
- Specified by:
mapToDouble
in interfaceStream<T>
-
mapToInt
-
mapToLong
-
max
-
min
-
noneMatch
-
peek
-
reduce
-
reduce
-
reduce
-
skip
-
sorted
-
sorted
-
toArray
-
toArray
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceBaseStream<T,
Stream<T>>
-
isParallel
- Specified by:
isParallel
in interfaceBaseStream<T,
Stream<T>>
-
iterator
- Specified by:
iterator
in interfaceBaseStream<T,
Stream<T>>
-
onClose
- Specified by:
onClose
in interfaceBaseStream<T,
Stream<T>>
-
parallel
- Specified by:
parallel
in interfaceBaseStream<T,
Stream<T>>
-
sequential
- Specified by:
sequential
in interfaceBaseStream<T,
Stream<T>>
-
spliterator
- Specified by:
spliterator
in interfaceBaseStream<T,
Stream<T>>
-
unordered
- Specified by:
unordered
in interfaceBaseStream<T,
Stream<T>>
-
takeWhile
-
dropWhile
-