Interface IStream<T>
.NET interface for TO BE DEFINED FROM USER
public interface IStream<T> : IBaseStream<T, Stream<T>>, IAutoCloseable
Type Parameters
T
- Inherited Members
Methods
AllMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)
bool AllMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
AnyMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)
bool AnyMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Collect<R, Arg1objectSuperT>(Supplier<R>, BiConsumer<R, Arg1objectSuperT>, BiConsumer<R, R>)
R Collect<R, Arg1objectSuperT>(Supplier<R> arg0, BiConsumer<R, Arg1objectSuperT> arg1, BiConsumer<R, R> arg2) where Arg1objectSuperT : T
Parameters
arg0
Supplier<R>arg1
BiConsumer<R, Arg1objectSuperT>arg2
BiConsumer<R, R>
Returns
- R
R
Type Parameters
R
Arg1objectSuperT
T
Collect<R, Arg0objectSuperT, A>(Collector<Arg0objectSuperT, A, R>)
R Collect<R, Arg0objectSuperT, A>(Collector<Arg0objectSuperT, A, R> arg0) where Arg0objectSuperT : T
Parameters
Returns
- R
R
Type Parameters
R
Arg0objectSuperT
T
A
Count()
long Count()
Returns
Distinct()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html#distinct()
Stream<T> Distinct()
Returns
DropWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)
Stream<T> DropWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Filter<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)
Stream<T> Filter<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
FindAny()
Optional<T> FindAny()
Returns
FindFirst()
Optional<T> FindFirst()
Returns
FlatMapToDouble<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_DoubleStream>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_DoubleStream>)
DoubleStream FlatMapToDouble<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_DoubleStream>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_DoubleStream> arg0) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Stream_DoubleStream : DoubleStream
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Arg0ExtendsJava_Util_Stream_DoubleStream
FlatMapToInt<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_IntStream>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_IntStream>)
IntStream FlatMapToInt<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_IntStream>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_IntStream> arg0) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Stream_IntStream : IntStream
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Arg0ExtendsJava_Util_Stream_IntStream
FlatMapToLong<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_LongStream>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_LongStream>)
LongStream FlatMapToLong<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_LongStream>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_LongStream> arg0) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Stream_LongStream : LongStream
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Arg0ExtendsJava_Util_Stream_LongStream
FlatMap<R, Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_, Arg0ExtendsR>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_>)
Stream<R> FlatMap<R, Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_, Arg0ExtendsR>(Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_> arg0) where Arg0objectSuperT : T where Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_ : Stream<Arg0ExtendsR> where Arg0ExtendsR : R
Parameters
Returns
Type Parameters
R
Arg0objectSuperT
T
Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_
Arg0ExtendsR
R
ForEachOrdered<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)
void ForEachOrdered<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Type Parameters
Arg0objectSuperT
T
ForEach<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)
void ForEach<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Type Parameters
Arg0objectSuperT
T
Limit(long)
Stream<T> Limit(long arg0)
Parameters
Returns
MapToDouble<Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT>)
DoubleStream MapToDouble<Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
ToDoubleFunction<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
MapToInt<Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT>)
IntStream MapToInt<Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
ToIntFunction<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
MapToLong<Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT>)
LongStream MapToLong<Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
ToLongFunction<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
Map<R, Arg0objectSuperT, Arg0ExtendsR>(Function<Arg0objectSuperT, Arg0ExtendsR>)
Stream<R> Map<R, Arg0objectSuperT, Arg0ExtendsR>(Function<Arg0objectSuperT, Arg0ExtendsR> arg0) where Arg0objectSuperT : T where Arg0ExtendsR : R
Parameters
Returns
Type Parameters
R
Arg0objectSuperT
T
Arg0ExtendsR
R
Max<Arg0objectSuperT>(Comparator<Arg0objectSuperT>)
Optional<T> Max<Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
Comparator<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
Min<Arg0objectSuperT>(Comparator<Arg0objectSuperT>)
Optional<T> Min<Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
Comparator<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
NoneMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)
bool NoneMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Peek<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)
Stream<T> Peek<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
Reduce(BinaryOperator<T>)
Optional<T> Reduce(BinaryOperator<T> arg0)
Parameters
arg0
BinaryOperator<T>
Returns
Reduce(T, BinaryOperator<T>)
T Reduce(T arg0, BinaryOperator<T> arg1)
Parameters
arg0
TT
arg1
BinaryOperator<T>
Returns
- T
T
Reduce<U, Arg1objectSuperT>(U, BiFunction<U, Arg1objectSuperT, U>, BinaryOperator<U>)
U Reduce<U, Arg1objectSuperT>(U arg0, BiFunction<U, Arg1objectSuperT, U> arg1, BinaryOperator<U> arg2) where Arg1objectSuperT : T
Parameters
arg0
UU
arg1
BiFunction<U, Arg1objectSuperT, U>arg2
BinaryOperator<U>
Returns
- U
U
Type Parameters
U
Arg1objectSuperT
T
Skip(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html#skip(long)
Stream<T> Skip(long arg0)
Parameters
Returns
Sorted()
Stream<T> Sorted()
Returns
Sorted<Arg0objectSuperT>(Comparator<Arg0objectSuperT>)
Stream<T> Sorted<Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
Comparator<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
TakeWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)
Stream<T> TakeWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
ToArray()
object[] ToArray()
Returns
ToArray<A>(IntFunction<A[]>)
A[] ToArray<A>(IntFunction<A[]> arg0)
Parameters
arg0
IntFunction<A[]>
Returns
- A[]
A
Type Parameters
A