Table of Contents

Class LongStream

Namespace
Java.Util.Stream
Assembly
MASES.JNet.dll
public class LongStream : BaseStream<Long, LongStream>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ILongStream, IBaseStream<Long, LongStream>, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
LongStream
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AllMatch(LongPredicate)

public bool AllMatch(LongPredicate arg0)

Parameters

arg0 LongPredicate

LongPredicate

Returns

bool

bool

AnyMatch(LongPredicate)

public bool AnyMatch(LongPredicate arg0)

Parameters

arg0 LongPredicate

LongPredicate

Returns

bool

bool

AsDoubleStream()

public DoubleStream AsDoubleStream()

Returns

DoubleStream

DoubleStream

Average()

public OptionalDouble Average()

Returns

OptionalDouble

OptionalDouble

Boxed()

public Stream<Long> Boxed()

Returns

Stream<Long>

Stream

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>

Supplier

arg1 ObjLongConsumer<R>

ObjLongConsumer

arg2 BiConsumer<R, R>

BiConsumer

Returns

R

R

Type Parameters

R

Concat(LongStream, LongStream)

public static LongStream Concat(LongStream arg0, LongStream arg1)

Parameters

arg0 LongStream

LongStream

arg1 LongStream

LongStream

Returns

LongStream

LongStream

Count()

public long Count()

Returns

long

long

Distinct()

public LongStream Distinct()

Returns

LongStream

LongStream

DropWhile(LongPredicate)

public LongStream DropWhile(LongPredicate arg0)

Parameters

arg0 LongPredicate

LongPredicate

Returns

LongStream

LongStream

Empty()

public static LongStream Empty()

Returns

LongStream

LongStream

Filter(LongPredicate)

public LongStream Filter(LongPredicate arg0)

Parameters

arg0 LongPredicate

LongPredicate

Returns

LongStream

LongStream

FindAny()

public OptionalLong FindAny()

Returns

OptionalLong

OptionalLong

FindFirst()

public OptionalLong FindFirst()

Returns

OptionalLong

OptionalLong

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>

LongFunction

Returns

LongStream

LongStream

Type Parameters

Arg0ExtendsJava_Util_Stream_LongStream

LongStream

ForEach(LongConsumer)

public void ForEach(LongConsumer arg0)

Parameters

arg0 LongConsumer

LongConsumer

ForEachOrdered(LongConsumer)

public void ForEachOrdered(LongConsumer arg0)

Parameters

arg0 LongConsumer

LongConsumer

Generate(LongSupplier)

public static LongStream Generate(LongSupplier arg0)

Parameters

arg0 LongSupplier

LongSupplier

Returns

LongStream

LongStream

Iterate(long, LongPredicate, LongUnaryOperator)

public static LongStream Iterate(long arg0, LongPredicate arg1, LongUnaryOperator arg2)

Parameters

arg0 long

long

arg1 LongPredicate

LongPredicate

arg2 LongUnaryOperator

LongUnaryOperator

Returns

LongStream

LongStream

Iterate(long, LongUnaryOperator)

public static LongStream Iterate(long arg0, LongUnaryOperator arg1)

Parameters

arg0 long

long

arg1 LongUnaryOperator

LongUnaryOperator

Returns

LongStream

LongStream

Iterator()

public Iterator Iterator()

Returns

Iterator

Iterator

Limit(long)

public LongStream Limit(long arg0)

Parameters

arg0 long

long

Returns

LongStream

LongStream

Map(LongUnaryOperator)

public LongStream Map(LongUnaryOperator arg0)

Parameters

arg0 LongUnaryOperator

LongUnaryOperator

Returns

LongStream

LongStream

MapToDouble(LongToDoubleFunction)

public DoubleStream MapToDouble(LongToDoubleFunction arg0)

Parameters

arg0 LongToDoubleFunction

LongToDoubleFunction

Returns

DoubleStream

DoubleStream

MapToInt(LongToIntFunction)

public IntStream MapToInt(LongToIntFunction arg0)

Parameters

arg0 LongToIntFunction

LongToIntFunction

Returns

IntStream

IntStream

MapToObj<U, Arg0ExtendsU>(LongFunction<Arg0ExtendsU>)

public Stream<U> MapToObj<U, Arg0ExtendsU>(LongFunction<Arg0ExtendsU> arg0) where Arg0ExtendsU : U

Parameters

arg0 LongFunction<Arg0ExtendsU>

LongFunction

Returns

Stream<U>

Stream

Type Parameters

U
Arg0ExtendsU

U

Max()

public OptionalLong Max()

Returns

OptionalLong

OptionalLong

Min()

public OptionalLong Min()

Returns

OptionalLong

OptionalLong

NoneMatch(LongPredicate)

public bool NoneMatch(LongPredicate arg0)

Parameters

arg0 LongPredicate

LongPredicate

Returns

bool

bool

Of(long)

public static LongStream Of(long arg0)

Parameters

arg0 long

long

Returns

LongStream

LongStream

Of(params long[])

public static LongStream Of(params long[] arg0)

Parameters

arg0 long[]

long

Returns

LongStream

LongStream

Parallel()

public BaseStream Parallel()

Returns

BaseStream

BaseStream

Peek(LongConsumer)

public LongStream Peek(LongConsumer arg0)

Parameters

arg0 LongConsumer

LongConsumer

Returns

LongStream

LongStream

Range(long, long)

public static LongStream Range(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

LongStream

LongStream

RangeClosed(long, long)

public static LongStream RangeClosed(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

LongStream

LongStream

Reduce(LongBinaryOperator)

public OptionalLong Reduce(LongBinaryOperator arg0)

Parameters

arg0 LongBinaryOperator

LongBinaryOperator

Returns

OptionalLong

OptionalLong

Reduce(long, LongBinaryOperator)

public long Reduce(long arg0, LongBinaryOperator arg1)

Parameters

arg0 long

long

arg1 LongBinaryOperator

LongBinaryOperator

Returns

long

long

Sequential()

public BaseStream Sequential()

Returns

BaseStream

BaseStream

Skip(long)

public LongStream Skip(long arg0)

Parameters

arg0 long

long

Returns

LongStream

LongStream

Sorted()

public LongStream Sorted()

Returns

LongStream

LongStream

Spliterator()

public Spliterator Spliterator()

Returns

Spliterator

Spliterator

Sum()

public long Sum()

Returns

long

long

SummaryStatistics()

public LongSummaryStatistics SummaryStatistics()

Returns

LongSummaryStatistics

LongSummaryStatistics

TakeWhile(LongPredicate)

public LongStream TakeWhile(LongPredicate arg0)

Parameters

arg0 LongPredicate

LongPredicate

Returns

LongStream

LongStream

ToArray()

public long[] ToArray()

Returns

long[]

long