Click or drag to resize

JVMBridgeBaseEnumerableTClass Class

A generic IEnumerable used to manage Java Iterable
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    MASES.JCOBridge.C2JBridgeJVMBridgeBase
      MASES.JCOBridge.C2JBridgeJVMBridgeBaseTClass
        MASES.JCOBridge.C2JBridgeJVMBridgeBaseEnumerableTClass
          MASES.JCOBridge.C2JBridgeJVMBridgeBaseEnumerableTClass, TObject

Namespace:  MASES.JCOBridge.C2JBridge
Assembly:  C2JBridge (in C2JBridge.dll) Version: 2.4.12.220507-908f547aedf9e08963d047b783e99d6b2ed61a1c
Syntax
public abstract class JVMBridgeBaseEnumerable<TClass> : JVMBridgeBase<TClass>, 
	IEnumerable
where TClass : new(), JVMBridgeBase

Type Parameters

TClass
The class implementing IJVMBridgeBase

The JVMBridgeBaseEnumerableTClass type exposes the following members.

Constructors
  NameDescription
Protected methodJVMBridgeBaseEnumerableTClass
Initializes a new instance of the JVMBridgeBaseEnumerableTClass class
Top
Properties
  NameDescription
Public propertyClassName
Java class name to be instantiated
(Inherited from JVMBridgeBase.)
Public propertyDynInstance
The dynamic accessor to Instance
(Inherited from JVMBridgeBase.)
Public propertyInstance
The IJavaObject instance
(Inherited from JVMBridgeBase.)
Public propertyIsAbstract
if the ClassName is an abstract class, i.e. cannot be created an instance
(Inherited from JVMBridgeBase.)
Public propertyIsCloseable
if the ClassName implements Closeable
(Inherited from JVMBridgeBase.)
Public propertyIsInterface
if the ClassName is an interface, i.e. does not have any public constructor
(Inherited from JVMBridgeBase.)
Public propertyIsListener
if the ClassName follows the listener pattern of JCOBridge: the ClassName extends a JCListener or implements IJCListener
(Inherited from JVMBridgeBase.)
Public propertyIsStatic
if the ClassName is a static class, i.e. does not have any public constructor
(Inherited from JVMBridgeBase.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from JVMBridgeBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from JVMBridgeBase.)
Public methodExecuteT(T)
Executes the code
(Inherited from JVMBridgeBase.)
Public methodExecuteT(T)
Executes the code
(Inherited from JVMBridgeBaseTClass.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from JVMBridgeBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIExecute(String, Object)
Executes an instance method
(Inherited from JVMBridgeBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNewTNewClass(String, Object) Obsolete.
Executes an instance method
(Inherited from JVMBridgeBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from JVMBridgeBase.)
Top
Extension Methods
Examples
This is a basic example showing JVMBridgeBaseEnumerableTClass class usage
C#
class EnumberableClass : JVMBridgeBaseEnumerable<EnumberableClass>
{
    public override string ClassName => "org.company.EnumberableClass";

    public EnumberableClass()
    {
    }
}
See Also