Class Spliterator<T>
public class Spliterator<T> : JVMBridgeBase<Spliterator<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISpliterator<T>
Type Parameters
T
- Inheritance
-
Spliterator<T>
- Implements
-
ISpliterator<T>
- Derived
- Inherited Members
- Extension Methods
Constructors
Spliterator()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Spliterator 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 Spliterator()
Spliterator(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("Spliterator 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 Spliterator(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CONCURRENT
public static int CONCURRENT { get; }
Property Value
Comparator
public Comparator Comparator { get; }
Property Value
DISTINCT
public static int DISTINCT { get; }
Property Value
ExactSizeIfKnown
public long ExactSizeIfKnown { get; }
Property Value
IMMUTABLE
public static int IMMUTABLE { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
NONNULL
public static int NONNULL { get; }
Property Value
ORDERED
public static int ORDERED { get; }
Property Value
SIZED
public static int SIZED { get; }
Property Value
SORTED
public static int SORTED { get; }
Property Value
SUBSIZED
public static int SUBSIZED { get; }
Property Value
Methods
Characteristics()
public int Characteristics()
Returns
EstimateSize()
public long EstimateSize()
Returns
ForEachRemaining<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)
public void ForEachRemaining<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Type Parameters
Arg0objectSuperT
T
HasCharacteristics(int)
public bool HasCharacteristics(int arg0)
Parameters
Returns
TryAdvance<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)
public bool TryAdvance<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
TrySplit()
public Spliterator<T> TrySplit()
Returns
Operators
implicit operator Spliterator(Spliterator<T>)
Converter from Spliterator<T> to Spliterator
public static implicit operator Spliterator(Spliterator<T> t)
Parameters
t
Spliterator<T>