Class IntStream
public class IntStream : BaseStream<Integer, IntStream>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IIntStream, IBaseStream<Integer, IntStream>, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>IntStream
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
IntStream()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("IntStream class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public IntStream()
IntStream(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("IntStream class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public IntStream(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AllMatch(IntPredicate)
public bool AllMatch(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
AnyMatch(IntPredicate)
public bool AnyMatch(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
AsDoubleStream()
public DoubleStream AsDoubleStream()
Returns
AsLongStream()
public LongStream AsLongStream()
Returns
Average()
public OptionalDouble Average()
Returns
Boxed()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/IntStream.html#boxed()
public Stream<Integer> Boxed()
Returns
Collect<R>(Supplier<R>, ObjIntConsumer<R>, BiConsumer<R, R>)
public 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
Concat(IntStream, IntStream)
public static IntStream Concat(IntStream arg0, IntStream arg1)
Parameters
Returns
Count()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/IntStream.html#count()
public long Count()
Returns
Distinct()
public IntStream Distinct()
Returns
DropWhile(IntPredicate)
public IntStream DropWhile(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
Empty()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/IntStream.html#empty()
public static IntStream Empty()
Returns
Filter(IntPredicate)
public IntStream Filter(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
FindAny()
public OptionalInt FindAny()
Returns
FindFirst()
public OptionalInt FindFirst()
Returns
FlatMap<Arg0ExtendsJava_Util_Stream_IntStream>(IntFunction<Arg0ExtendsJava_Util_Stream_IntStream>)
public 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)
public void ForEach(IntConsumer arg0)
Parameters
arg0
IntConsumer
ForEachOrdered(IntConsumer)
public void ForEachOrdered(IntConsumer arg0)
Parameters
arg0
IntConsumer
Generate(IntSupplier)
public static IntStream Generate(IntSupplier arg0)
Parameters
arg0
IntSupplier
Returns
Iterate(int, IntPredicate, IntUnaryOperator)
public static IntStream Iterate(int arg0, IntPredicate arg1, IntUnaryOperator arg2)
Parameters
arg0
intarg1
IntPredicatearg2
IntUnaryOperator
Returns
Iterate(int, IntUnaryOperator)
public static IntStream Iterate(int arg0, IntUnaryOperator arg1)
Parameters
arg0
intarg1
IntUnaryOperator
Returns
Iterator()
public Iterator Iterator()
Returns
Limit(long)
public IntStream Limit(long arg0)
Parameters
Returns
Map(IntUnaryOperator)
public IntStream Map(IntUnaryOperator arg0)
Parameters
Returns
MapToDouble(IntToDoubleFunction)
public DoubleStream MapToDouble(IntToDoubleFunction arg0)
Parameters
Returns
MapToLong(IntToLongFunction)
public LongStream MapToLong(IntToLongFunction arg0)
Parameters
Returns
MapToObj<U, Arg0ExtendsU>(IntFunction<Arg0ExtendsU>)
public Stream<U> MapToObj<U, Arg0ExtendsU>(IntFunction<Arg0ExtendsU> arg0) where Arg0ExtendsU : U
Parameters
arg0
IntFunction<Arg0ExtendsU>
Returns
Type Parameters
U
Arg0ExtendsU
U
Max()
public OptionalInt Max()
Returns
Min()
public OptionalInt Min()
Returns
NoneMatch(IntPredicate)
public bool NoneMatch(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
Of(int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/IntStream.html#of(int)
public static IntStream Of(int arg0)
Parameters
Returns
Of(params int[])
public static IntStream Of(params int[] arg0)
Parameters
Returns
Parallel()
public BaseStream Parallel()
Returns
Peek(IntConsumer)
public IntStream Peek(IntConsumer arg0)
Parameters
arg0
IntConsumer
Returns
Range(int, int)
public static IntStream Range(int arg0, int arg1)
Parameters
Returns
RangeClosed(int, int)
public static IntStream RangeClosed(int arg0, int arg1)
Parameters
Returns
Reduce(IntBinaryOperator)
public OptionalInt Reduce(IntBinaryOperator arg0)
Parameters
Returns
Reduce(int, IntBinaryOperator)
public int Reduce(int arg0, IntBinaryOperator arg1)
Parameters
arg0
intarg1
IntBinaryOperator
Returns
Sequential()
public BaseStream Sequential()
Returns
Skip(long)
public IntStream Skip(long arg0)
Parameters
Returns
Sorted()
public IntStream Sorted()
Returns
Spliterator()
public Spliterator Spliterator()
Returns
Sum()
public int Sum()
Returns
SummaryStatistics()
public IntSummaryStatistics SummaryStatistics()
Returns
TakeWhile(IntPredicate)
public IntStream TakeWhile(IntPredicate arg0)
Parameters
arg0
IntPredicate
Returns
ToArray()
public int[] ToArray()