JVMBridge |
public abstract class JVMBridgeBaseEnumerable<TClass, TObject> : JVMBridgeBaseEnumerable<TClass>, IEnumerable<TObject>, IEnumerable where TClass : new(), JVMBridgeBase
The JVMBridgeBaseEnumerableTClass, TObject type exposes the following members.
| Name | Description | |
|---|---|---|
| JVMBridgeBaseEnumerableTClass, TObject | Create an instance of JVMBridgeBaseEnumerableTClass, TObject | |
| JVMBridgeBaseEnumerableTClass, TObject(IJVMBridgeBaseInitializer) | Initializer used internally | |
| JVMBridgeBaseEnumerableTClass, TObject(Object) | Create an instance of JVMBridgeBaseEnumerableTClass, TObject |
| Name | Description | |
|---|---|---|
| BridgeClassName |
Java class name to be instantiated
(Inherited from JVMBridgeBase) | |
| BridgeInstance |
The IJavaObject instance
(Inherited from JVMBridgeBase) | |
| DynBridgeInstance |
The dynamic accessor to BridgeInstance (Inherited from JVMBridgeBase) | |
| IsBridgeAbstract | if the BridgeClassName is an abstract class, i.e. cannot be created an instance
(Inherited from JVMBridgeBase) | |
| IsBridgeCloseable | if the BridgeClassName implements Closeable
(Inherited from JVMBridgeBase) | |
| IsBridgeInterface | if the BridgeClassName is an interface, i.e. does not have any public constructor
(Inherited from JVMBridgeBase) | |
| IsBridgeListener | if the BridgeClassName follows the listener pattern of JCOBridge: the BridgeClassName extends a JCListener or implements IJCListener
(Inherited from JVMBridgeBase) | |
| IsBridgeStatic | if the BridgeClassName is a static class, i.e. does not have any public constructor
(Inherited from JVMBridgeBase) |
| Name | Description | |
|---|---|---|
| CastDirectTNewClass |
Simplified version of CastToTNewClass which wraps this instance with a new TNewClass class
(Inherited from JVMBridgeBase) | |
| CastToTNewClass |
Casts this IJVMBridgeBase object into TNewClass (Inherited from JVMBridgeBase) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from JVMBridgeBase) | |
| Dispose(Boolean) |
Implements the pattern described in https://learn.microsoft.com/en-en/dotnet/standard/garbage-collection/implementing-dispose
(Inherited from JVMBridgeBase) | |
| Equals(IJVMBridgeBase) | Indicates whether the current object is equal to another object of the same type. (Inherited from JVMBridgeBase) | |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from JVMBridgeBase) | |
| ExecuteT(T) |
Executes the code
(Inherited from JVMBridgeBase) | |
| ExecuteT(T) |
Executes the code
(Inherited from JVMBridgeBaseTClass) | |
| Finalize |
Finalizer
(Inherited from JVMBridgeBase) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| GetHashCode | Serves as the default hash function. (Inherited from JVMBridgeBase) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IExecute(String, Object) |
Executes an instance method
(Inherited from JVMBridgeBase) | |
| IExecuteArrayTArrayType |
Execute the method and build the result as an array of TArrayType (Inherited from JVMBridgeBase) | |
| IExecuteWithSignature(String, String, Object) |
Executes an instance method
(Inherited from JVMBridgeBase) | |
| IExecuteWithSignatureArrayTArrayType |
Execute the method and build the result as an array of TArrayType (Inherited from JVMBridgeBase) | |
| IGetField(String) |
Gets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
| IGetFieldArrayTReturn |
Gets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
| IsAssignableFrom(IJavaType) |
Verify if this IJVMBridgeBase is assignable from clazz (Inherited from JVMBridgeBaseTClass) | |
| IsAssignableFrom(String) |
Verify if this IJVMBridgeBase is assignable from clazz (Inherited from JVMBridgeBaseTClass) | |
| IsAssignableFromT |
Verify if this IJVMBridgeBase is assignable from T (Inherited from JVMBridgeBaseTClass) | |
| ISetField(String, Object) |
Sets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
| ISetFieldTValue(String, TValue) |
Sets the value of a field identified by fieldName (Inherited from JVMBridgeBase) | |
| IsInstanceOf(IJavaType) |
Verify if this IJVMBridgeBase is an instance of clazz (Inherited from JVMBridgeBase) | |
| IsInstanceOf(String) |
Verify if this IJVMBridgeBase is an instance of clazz (Inherited from JVMBridgeBase) | |
| IsInstanceOfT |
Verify if this IJVMBridgeBase is an instance of T (Inherited from JVMBridgeBase) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MonitorEnter |
Enters the monitor associated with the underlying with this IJVMBridgeBase (Inherited from JVMBridgeBase) | |
| MonitorExit |
Exits the monitor associated with the underlying with this IJVMBridgeBase (Inherited from JVMBridgeBase) | |
| Notify |
Wakes up a single thread that is waiting on this object's monitor.
(Inherited from JVMBridgeBase) | |
| NotifyAll |
Wakes up all threads that are waiting on this object's monitor.
(Inherited from JVMBridgeBase) | |
| RuntimeIsInstanceOfT |
Verify if this IJVMBridgeBase is an instance of T; the constraints of T are checked at runtime, while IsInstanceOfT checks T constraint at compile time
(Inherited from JVMBridgeBase) | |
| ToString | Returns a string that represents the current object. (Inherited from JVMBridgeBase) | |
| Wait |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
(Inherited from JVMBridgeBase) | |
| Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
(Inherited from JVMBridgeBase) | |
| Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
(Inherited from JVMBridgeBase) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
Converts a generic object
(Defined by JCOBridgeExtensions) | |
| ToNative |
Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions) |
class EnumberableClass : JVMBridgeBaseEnumerable<EnumberableClass, EnumberableObjectClass> { public override string BridgeClassName => "org.company.EnumberableClass"; public EnumberableClass() { } }