Table of Contents

Interface IStream<T>

Namespace
Java.Util.Stream
Assembly
MASES.JNet.dll

.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

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

bool

bool

Type Parameters

Arg0objectSuperT

T

AnyMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)

bool AnyMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

bool

bool

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>

Supplier

arg1 BiConsumer<R, Arg1objectSuperT>

BiConsumer

arg2 BiConsumer<R, R>

BiConsumer

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

arg0 Collector<Arg0objectSuperT, A, R>

Collector

Returns

R

R

Type Parameters

R
Arg0objectSuperT

T

A

Count()

long Count()

Returns

long

long

Distinct()

Stream<T> Distinct()

Returns

Stream<T>

Stream

DropWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)

Stream<T> DropWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

Stream<T>

Stream

Type Parameters

Arg0objectSuperT

T

Filter<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)

Stream<T> Filter<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

Stream<T>

Stream

Type Parameters

Arg0objectSuperT

T

FindAny()

Optional<T> FindAny()

Returns

Optional<T>

Optional

FindFirst()

Optional<T> FindFirst()

Returns

Optional<T>

Optional

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

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_DoubleStream>

Function

Returns

DoubleStream

DoubleStream

Type Parameters

Arg0objectSuperT

T

Arg0ExtendsJava_Util_Stream_DoubleStream

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

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_IntStream>

Function

Returns

IntStream

IntStream

Type Parameters

Arg0objectSuperT

T

Arg0ExtendsJava_Util_Stream_IntStream

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

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_LongStream>

Function

Returns

LongStream

LongStream

Type Parameters

Arg0objectSuperT

T

Arg0ExtendsJava_Util_Stream_LongStream

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

arg0 Function<Arg0objectSuperT, Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_>

Function

Returns

Stream<R>

Stream

Type Parameters

R
Arg0objectSuperT

T

Arg0ExtendsJava_Util_Stream_Stream_Arg0ExtendsR_

Stream<T>

Arg0ExtendsR

R

ForEachOrdered<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)

void ForEachOrdered<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Consumer<Arg0objectSuperT>

Consumer

Type Parameters

Arg0objectSuperT

T

ForEach<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)

void ForEach<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Consumer<Arg0objectSuperT>

Consumer

Type Parameters

Arg0objectSuperT

T

Limit(long)

Stream<T> Limit(long arg0)

Parameters

arg0 long

long

Returns

Stream<T>

Stream

MapToDouble<Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT>)

DoubleStream MapToDouble<Arg0objectSuperT>(ToDoubleFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToDoubleFunction<Arg0objectSuperT>

ToDoubleFunction

Returns

DoubleStream

DoubleStream

Type Parameters

Arg0objectSuperT

T

MapToInt<Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT>)

IntStream MapToInt<Arg0objectSuperT>(ToIntFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToIntFunction<Arg0objectSuperT>

ToIntFunction

Returns

IntStream

IntStream

Type Parameters

Arg0objectSuperT

T

MapToLong<Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT>)

LongStream MapToLong<Arg0objectSuperT>(ToLongFunction<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 ToLongFunction<Arg0objectSuperT>

ToLongFunction

Returns

LongStream

LongStream

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

arg0 Function<Arg0objectSuperT, Arg0ExtendsR>

Function

Returns

Stream<R>

Stream

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>

Comparator

Returns

Optional<T>

Optional

Type Parameters

Arg0objectSuperT

T

Min<Arg0objectSuperT>(Comparator<Arg0objectSuperT>)

Optional<T> Min<Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Comparator<Arg0objectSuperT>

Comparator

Returns

Optional<T>

Optional

Type Parameters

Arg0objectSuperT

T

NoneMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)

bool NoneMatch<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

bool

bool

Type Parameters

Arg0objectSuperT

T

Peek<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)

Stream<T> Peek<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Consumer<Arg0objectSuperT>

Consumer

Returns

Stream<T>

Stream

Type Parameters

Arg0objectSuperT

T

Reduce(BinaryOperator<T>)

Optional<T> Reduce(BinaryOperator<T> arg0)

Parameters

arg0 BinaryOperator<T>

BinaryOperator

Returns

Optional<T>

Optional

Reduce(T, BinaryOperator<T>)

T Reduce(T arg0, BinaryOperator<T> arg1)

Parameters

arg0 T

T

arg1 BinaryOperator<T>

BinaryOperator

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 U

U

arg1 BiFunction<U, Arg1objectSuperT, U>

BiFunction

arg2 BinaryOperator<U>

BinaryOperator

Returns

U

U

Type Parameters

U
Arg1objectSuperT

T

Skip(long)

Stream<T> Skip(long arg0)

Parameters

arg0 long

long

Returns

Stream<T>

Stream

Sorted()

Stream<T> Sorted()

Returns

Stream<T>

Stream

Sorted<Arg0objectSuperT>(Comparator<Arg0objectSuperT>)

Stream<T> Sorted<Arg0objectSuperT>(Comparator<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Comparator<Arg0objectSuperT>

Comparator

Returns

Stream<T>

Stream

Type Parameters

Arg0objectSuperT

T

TakeWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT>)

Stream<T> TakeWhile<Arg0objectSuperT>(Predicate<Arg0objectSuperT> arg0) where Arg0objectSuperT : T

Parameters

arg0 Predicate<Arg0objectSuperT>

Predicate

Returns

Stream<T>

Stream

Type Parameters

Arg0objectSuperT

T

ToArray()

object[] ToArray()

Returns

object[]

object

ToArray<A>(IntFunction<A[]>)

A[] ToArray<A>(IntFunction<A[]> arg0)

Parameters

arg0 IntFunction<A[]>

IntFunction

Returns

A[]

A

Type Parameters

A