Table of Contents

Class Stream

Namespace
Java.Util.Stream
Assembly
MASES.JNet.dll
public class Stream : BaseStream, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
Stream
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

Stream()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("Stream 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 Stream()

Stream(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("Stream 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 Stream(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(Predicate)

public bool AllMatch(Predicate arg0)

Parameters

arg0 Predicate

Predicate

Returns

bool

bool

AnyMatch(Predicate)

public bool AnyMatch(Predicate arg0)

Parameters

arg0 Predicate

Predicate

Returns

bool

bool

Collect(Supplier, BiConsumer, BiConsumer)

public object Collect(Supplier arg0, BiConsumer arg1, BiConsumer arg2)

Parameters

arg0 Supplier

Supplier

arg1 BiConsumer

BiConsumer

arg2 BiConsumer

BiConsumer

Returns

object

object

Collect(Collector)

public object Collect(Collector arg0)

Parameters

arg0 Collector

Collector

Returns

object

object

Concat(Stream, Stream)

public static Stream Concat(Stream arg0, Stream arg1)

Parameters

arg0 Stream

Stream

arg1 Stream

Stream

Returns

Stream

Stream

Count()

public long Count()

Returns

long

long

Distinct()

public Stream Distinct()

Returns

Stream

Stream

DropWhile(Predicate)

public Stream DropWhile(Predicate arg0)

Parameters

arg0 Predicate

Predicate

Returns

Stream

Stream

Empty()

public static Stream Empty()

Returns

Stream

Stream

Filter(Predicate)

public Stream Filter(Predicate arg0)

Parameters

arg0 Predicate

Predicate

Returns

Stream

Stream

FindAny()

public Optional FindAny()

Returns

Optional

Optional

FindFirst()

public Optional FindFirst()

Returns

Optional

Optional

FlatMap(Function)

public Stream FlatMap(Function arg0)

Parameters

arg0 Function

Function

Returns

Stream

Stream

FlatMapToDouble(Function)

public DoubleStream FlatMapToDouble(Function arg0)

Parameters

arg0 Function

Function

Returns

DoubleStream

DoubleStream

FlatMapToInt(Function)

public IntStream FlatMapToInt(Function arg0)

Parameters

arg0 Function

Function

Returns

IntStream

IntStream

FlatMapToLong(Function)

public LongStream FlatMapToLong(Function arg0)

Parameters

arg0 Function

Function

Returns

LongStream

LongStream

ForEach(Consumer)

public void ForEach(Consumer arg0)

Parameters

arg0 Consumer

Consumer

ForEachOrdered(Consumer)

public void ForEachOrdered(Consumer arg0)

Parameters

arg0 Consumer

Consumer

Generate(Supplier)

public static Stream Generate(Supplier arg0)

Parameters

arg0 Supplier

Supplier

Returns

Stream

Stream

Iterate(object, Predicate, UnaryOperator)

public static Stream Iterate(object arg0, Predicate arg1, UnaryOperator arg2)

Parameters

arg0 object

object

arg1 Predicate

Predicate

arg2 UnaryOperator

UnaryOperator

Returns

Stream

Stream

Iterate(object, UnaryOperator)

public static Stream Iterate(object arg0, UnaryOperator arg1)

Parameters

arg0 object

object

arg1 UnaryOperator

UnaryOperator

Returns

Stream

Stream

Limit(long)

public Stream Limit(long arg0)

Parameters

arg0 long

long

Returns

Stream

Stream

Map(Function)

public Stream Map(Function arg0)

Parameters

arg0 Function

Function

Returns

Stream

Stream

MapToDouble(ToDoubleFunction)

public DoubleStream MapToDouble(ToDoubleFunction arg0)

Parameters

arg0 ToDoubleFunction

ToDoubleFunction

Returns

DoubleStream

DoubleStream

MapToInt(ToIntFunction)

public IntStream MapToInt(ToIntFunction arg0)

Parameters

arg0 ToIntFunction

ToIntFunction

Returns

IntStream

IntStream

MapToLong(ToLongFunction)

public LongStream MapToLong(ToLongFunction arg0)

Parameters

arg0 ToLongFunction

ToLongFunction

Returns

LongStream

LongStream

Max(Comparator)

public Optional Max(Comparator arg0)

Parameters

arg0 Comparator

Comparator

Returns

Optional

Optional

Min(Comparator)

public Optional Min(Comparator arg0)

Parameters

arg0 Comparator

Comparator

Returns

Optional

Optional

NoneMatch(Predicate)

public bool NoneMatch(Predicate arg0)

Parameters

arg0 Predicate

Predicate

Returns

bool

bool

Of(object)

public static Stream Of(object arg0)

Parameters

arg0 object

object

Returns

Stream

Stream

Of(params object[])

public static Stream Of(params object[] arg0)

Parameters

arg0 object[]

object

Returns

Stream

Stream

OfNullable(object)

public static Stream OfNullable(object arg0)

Parameters

arg0 object

object

Returns

Stream

Stream

Peek(Consumer)

public Stream Peek(Consumer arg0)

Parameters

arg0 Consumer

Consumer

Returns

Stream

Stream

Reduce(BinaryOperator)

public Optional Reduce(BinaryOperator arg0)

Parameters

arg0 BinaryOperator

BinaryOperator

Returns

Optional

Optional

Reduce(object, BiFunction, BinaryOperator)

public object Reduce(object arg0, BiFunction arg1, BinaryOperator arg2)

Parameters

arg0 object

object

arg1 BiFunction

BiFunction

arg2 BinaryOperator

BinaryOperator

Returns

object

object

Reduce(object, BinaryOperator)

public object Reduce(object arg0, BinaryOperator arg1)

Parameters

arg0 object

object

arg1 BinaryOperator

BinaryOperator

Returns

object

object

Skip(long)

public Stream Skip(long arg0)

Parameters

arg0 long

long

Returns

Stream

Stream

Sorted()

public Stream Sorted()

Returns

Stream

Stream

Sorted(Comparator)

public Stream Sorted(Comparator arg0)

Parameters

arg0 Comparator

Comparator

Returns

Stream

Stream

TakeWhile(Predicate)

public Stream TakeWhile(Predicate arg0)

Parameters

arg0 Predicate

Predicate

Returns

Stream

Stream

ToArray()

public object[] ToArray()

Returns

object[]

object

ToArray(IntFunction)

public object[] ToArray(IntFunction arg0)

Parameters

arg0 IntFunction

IntFunction

Returns

object[]

object