Class Stream
public class Stream : BaseStream, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AutoCloseable>Stream
- 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
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
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(Predicate)
public bool AllMatch(Predicate arg0)
Parameters
Returns
AnyMatch(Predicate)
public bool AnyMatch(Predicate arg0)
Parameters
Returns
Collect(Supplier, BiConsumer, BiConsumer)
public object Collect(Supplier arg0, BiConsumer arg1, BiConsumer arg2)
Parameters
arg0
Supplierarg1
BiConsumerarg2
BiConsumer
Returns
Collect(Collector)
public object Collect(Collector arg0)
Parameters
Returns
Concat(Stream, Stream)
public static Stream Concat(Stream arg0, Stream arg1)
Parameters
Returns
Count()
public long Count()
Returns
Distinct()
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html#distinct()
public Stream Distinct()
Returns
DropWhile(Predicate)
public Stream DropWhile(Predicate arg0)
Parameters
Returns
Empty()
public static Stream Empty()
Returns
Filter(Predicate)
public Stream Filter(Predicate arg0)
Parameters
Returns
FindAny()
public Optional FindAny()
Returns
FindFirst()
public Optional FindFirst()
Returns
FlatMap(Function)
public Stream FlatMap(Function arg0)
Parameters
Returns
FlatMapToDouble(Function)
public DoubleStream FlatMapToDouble(Function arg0)
Parameters
Returns
FlatMapToInt(Function)
public IntStream FlatMapToInt(Function arg0)
Parameters
Returns
FlatMapToLong(Function)
public LongStream FlatMapToLong(Function arg0)
Parameters
Returns
ForEach(Consumer)
public void ForEach(Consumer arg0)
Parameters
ForEachOrdered(Consumer)
public void ForEachOrdered(Consumer arg0)
Parameters
Generate(Supplier)
public static Stream Generate(Supplier arg0)
Parameters
Returns
Iterate(object, Predicate, UnaryOperator)
public static Stream Iterate(object arg0, Predicate arg1, UnaryOperator arg2)
Parameters
arg0
objectarg1
Predicatearg2
UnaryOperator
Returns
Iterate(object, UnaryOperator)
public static Stream Iterate(object arg0, UnaryOperator arg1)
Parameters
arg0
objectarg1
UnaryOperator
Returns
Limit(long)
public Stream Limit(long arg0)
Parameters
Returns
Map(Function)
public Stream Map(Function arg0)
Parameters
Returns
MapToDouble(ToDoubleFunction)
public DoubleStream MapToDouble(ToDoubleFunction arg0)
Parameters
Returns
MapToInt(ToIntFunction)
public IntStream MapToInt(ToIntFunction arg0)
Parameters
Returns
MapToLong(ToLongFunction)
public LongStream MapToLong(ToLongFunction arg0)
Parameters
Returns
Max(Comparator)
public Optional Max(Comparator arg0)
Parameters
arg0
Comparator
Returns
Min(Comparator)
public Optional Min(Comparator arg0)
Parameters
arg0
Comparator
Returns
NoneMatch(Predicate)
public bool NoneMatch(Predicate arg0)
Parameters
Returns
Of(object)
public static Stream Of(object arg0)
Parameters
Returns
Of(params object[])
public static Stream Of(params object[] arg0)
Parameters
Returns
OfNullable(object)
public static Stream OfNullable(object arg0)
Parameters
Returns
Peek(Consumer)
public Stream Peek(Consumer arg0)
Parameters
Returns
Reduce(BinaryOperator)
public Optional Reduce(BinaryOperator arg0)
Parameters
Returns
Reduce(object, BiFunction, BinaryOperator)
public object Reduce(object arg0, BiFunction arg1, BinaryOperator arg2)
Parameters
arg0
objectarg1
BiFunctionarg2
BinaryOperator
Returns
Reduce(object, BinaryOperator)
public object Reduce(object arg0, BinaryOperator arg1)
Parameters
arg0
objectarg1
BinaryOperator
Returns
Skip(long)
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/stream/Stream.html#skip(long)
public Stream Skip(long arg0)
Parameters
Returns
Sorted()
public Stream Sorted()
Returns
Sorted(Comparator)
public Stream Sorted(Comparator arg0)
Parameters
arg0
Comparator
Returns
TakeWhile(Predicate)
public Stream TakeWhile(Predicate arg0)
Parameters
Returns
ToArray()
public object[] ToArray()
Returns
ToArray(IntFunction)
public object[] ToArray(IntFunction arg0)
Parameters
arg0
IntFunction