Class LongStream
public class LongStream : BaseStream<Long, LongStream>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ILongStream, IBaseStream<Long, LongStream>, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>LongStream
- 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
LongStream()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("LongStream 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 LongStream()
LongStream(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("LongStream 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 LongStream(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(LongPredicate)
public bool AllMatch(LongPredicate arg0)
Parameters
Returns
AnyMatch(LongPredicate)
public bool AnyMatch(LongPredicate arg0)
Parameters
Returns
AsDoubleStream()
public DoubleStream AsDoubleStream()
Returns
Average()
public OptionalDouble Average()
Returns
Boxed()
public Stream<Long> Boxed()
Returns
Collect<R>(Supplier<R>, ObjLongConsumer<R>, BiConsumer<R, R>)
public R Collect<R>(Supplier<R> arg0, ObjLongConsumer<R> arg1, BiConsumer<R, R> arg2)
Parameters
arg0
Supplier<R>arg1
ObjLongConsumer<R>arg2
BiConsumer<R, R>
Returns
- R
R
Type Parameters
R
Concat(LongStream, LongStream)
public static LongStream Concat(LongStream arg0, LongStream arg1)
Parameters
arg0
LongStreamarg1
LongStream
Returns
Count()
public long Count()
Returns
Distinct()
public LongStream Distinct()
Returns
DropWhile(LongPredicate)
public LongStream DropWhile(LongPredicate arg0)
Parameters
Returns
Empty()
public static LongStream Empty()
Returns
Filter(LongPredicate)
public LongStream Filter(LongPredicate arg0)
Parameters
Returns
FindAny()
public OptionalLong FindAny()
Returns
FindFirst()
public OptionalLong FindFirst()
Returns
FlatMap<Arg0ExtendsJava_Util_Stream_LongStream>(LongFunction<Arg0ExtendsJava_Util_Stream_LongStream>)
public LongStream FlatMap<Arg0ExtendsJava_Util_Stream_LongStream>(LongFunction<Arg0ExtendsJava_Util_Stream_LongStream> arg0) where Arg0ExtendsJava_Util_Stream_LongStream : LongStream
Parameters
arg0
LongFunction<Arg0ExtendsJava_Util_Stream_LongStream>
Returns
Type Parameters
Arg0ExtendsJava_Util_Stream_LongStream
ForEach(LongConsumer)
public void ForEach(LongConsumer arg0)
Parameters
arg0
LongConsumer
ForEachOrdered(LongConsumer)
public void ForEachOrdered(LongConsumer arg0)
Parameters
arg0
LongConsumer
Generate(LongSupplier)
public static LongStream Generate(LongSupplier arg0)
Parameters
arg0
LongSupplier
Returns
Iterate(long, LongPredicate, LongUnaryOperator)
public static LongStream Iterate(long arg0, LongPredicate arg1, LongUnaryOperator arg2)
Parameters
arg0
longarg1
LongPredicatearg2
LongUnaryOperator
Returns
Iterate(long, LongUnaryOperator)
public static LongStream Iterate(long arg0, LongUnaryOperator arg1)
Parameters
arg0
longarg1
LongUnaryOperator
Returns
Iterator()
public Iterator Iterator()
Returns
Limit(long)
public LongStream Limit(long arg0)
Parameters
Returns
Map(LongUnaryOperator)
public LongStream Map(LongUnaryOperator arg0)
Parameters
Returns
MapToDouble(LongToDoubleFunction)
public DoubleStream MapToDouble(LongToDoubleFunction arg0)
Parameters
Returns
MapToInt(LongToIntFunction)
public IntStream MapToInt(LongToIntFunction arg0)
Parameters
Returns
MapToObj<U, Arg0ExtendsU>(LongFunction<Arg0ExtendsU>)
public Stream<U> MapToObj<U, Arg0ExtendsU>(LongFunction<Arg0ExtendsU> arg0) where Arg0ExtendsU : U
Parameters
arg0
LongFunction<Arg0ExtendsU>
Returns
Type Parameters
U
Arg0ExtendsU
U
Max()
public OptionalLong Max()
Returns
Min()
public OptionalLong Min()
Returns
NoneMatch(LongPredicate)
public bool NoneMatch(LongPredicate arg0)
Parameters
Returns
Of(long)
public static LongStream Of(long arg0)
Parameters
Returns
Of(params long[])
public static LongStream Of(params long[] arg0)
Parameters
Returns
Parallel()
public BaseStream Parallel()
Returns
Peek(LongConsumer)
public LongStream Peek(LongConsumer arg0)
Parameters
arg0
LongConsumer
Returns
Range(long, long)
public static LongStream Range(long arg0, long arg1)
Parameters
Returns
RangeClosed(long, long)
public static LongStream RangeClosed(long arg0, long arg1)
Parameters
Returns
Reduce(LongBinaryOperator)
public OptionalLong Reduce(LongBinaryOperator arg0)
Parameters
Returns
Reduce(long, LongBinaryOperator)
public long Reduce(long arg0, LongBinaryOperator arg1)
Parameters
arg0
longarg1
LongBinaryOperator
Returns
Sequential()
public BaseStream Sequential()
Returns
Skip(long)
public LongStream Skip(long arg0)
Parameters
Returns
Sorted()
public LongStream Sorted()
Returns
Spliterator()
public Spliterator Spliterator()
Returns
Sum()
public long Sum()
Returns
SummaryStatistics()
public LongSummaryStatistics SummaryStatistics()
Returns
TakeWhile(LongPredicate)
public LongStream TakeWhile(LongPredicate arg0)
Parameters
Returns
ToArray()
public long[] ToArray()