Interface IIntStream
.NET interface for TO BE DEFINED FROM USER
public interface IIntStream : IBaseStream<Integer, IntStream>, IAutoCloseable
- Inherited Members
Methods
AllMatch(IntPredicate)
bool AllMatch(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
AnyMatch(IntPredicate)
bool AnyMatch(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
AsDoubleStream()
DoubleStream AsDoubleStream()
Returns
AsLongStream()
LongStream AsLongStream()
Returns
Average()
OptionalDouble Average()
Returns
Boxed()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/IntStream.html#boxed()
Stream<Integer> Boxed()
Returns
Collect<R>(Supplier<R>, ObjIntConsumer<R>, BiConsumer<R, R>)
R Collect<R>(Supplier<R> arg0, ObjIntConsumer<R> arg1, BiConsumer<R, R> arg2)
Parameters
arg0
Supplier<R>arg1
ObjIntConsumer<R>arg2
BiConsumer<R, R>
Returns
- R
R
Type Parameters
R
Count()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/IntStream.html#count()
long Count()
Returns
Distinct()
IntStream Distinct()
Returns
DropWhile(IntPredicate)
IntStream DropWhile(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
Filter(IntPredicate)
IntStream Filter(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
FindAny()
OptionalInt FindAny()
Returns
FindFirst()
OptionalInt FindFirst()
Returns
FlatMap<Arg0ExtendsJava_Util_Stream_IntStream>(IntFunction<Arg0ExtendsJava_Util_Stream_IntStream>)
IntStream FlatMap<Arg0ExtendsJava_Util_Stream_IntStream>(IntFunction<Arg0ExtendsJava_Util_Stream_IntStream> arg0) where Arg0ExtendsJava_Util_Stream_IntStream : IntStream
Parameters
arg0
IntFunction<Arg0ExtendsJava_Util_Stream_IntStream>
Returns
Type Parameters
Arg0ExtendsJava_Util_Stream_IntStream
ForEach(IntConsumer)
void ForEach(IntConsumer arg0)
Parameters
arg0
IntConsumer
ForEachOrdered(IntConsumer)
void ForEachOrdered(IntConsumer arg0)
Parameters
arg0
IntConsumer
Iterator()
Iterator Iterator()
Returns
Limit(long)
IntStream Limit(long arg0)
Parameters
Returns
Map(IntUnaryOperator)
IntStream Map(IntUnaryOperator arg0)
Parameters
Returns
MapToDouble(IntToDoubleFunction)
DoubleStream MapToDouble(IntToDoubleFunction arg0)
Parameters
Returns
MapToLong(IntToLongFunction)
LongStream MapToLong(IntToLongFunction arg0)
Parameters
Returns
MapToObj<U, Arg0ExtendsU>(IntFunction<Arg0ExtendsU>)
Stream<U> MapToObj<U, Arg0ExtendsU>(IntFunction<Arg0ExtendsU> arg0) where Arg0ExtendsU : U
Parameters
arg0
IntFunction<Arg0ExtendsU>
Returns
Type Parameters
U
Arg0ExtendsU
U
Max()
OptionalInt Max()
Returns
Min()
OptionalInt Min()
Returns
NoneMatch(IntPredicate)
bool NoneMatch(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
Parallel()
BaseStream Parallel()
Returns
Peek(IntConsumer)
IntStream Peek(IntConsumer arg0)
Parameters
arg0
IntConsumer
Returns
Reduce(IntBinaryOperator)
OptionalInt Reduce(IntBinaryOperator arg0)
Parameters
Returns
Reduce(int, IntBinaryOperator)
int Reduce(int arg0, IntBinaryOperator arg1)
Parameters
arg0
intarg1
IntBinaryOperator
Returns
Sequential()
BaseStream Sequential()
Returns
Skip(long)
IntStream Skip(long arg0)
Parameters
Returns
Sorted()
IntStream Sorted()
Returns
Spliterator()
Spliterator Spliterator()
Returns
Sum()
int Sum()
Returns
SummaryStatistics()
IntSummaryStatistics SummaryStatistics()
Returns
TakeWhile(IntPredicate)
IntStream TakeWhile(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
ToArray()
int[] ToArray()