Click or drag to resize

IJavaObjectBase Interface

Base interface for all objects allocated from JVM

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public interface IJavaObjectBase : IDisposable

The IJavaObjectBase type exposes the following members.

Properties
 NameDescription
Public propertyIsGlobal Returns if this Pointer was set to be a Global reference
Public propertyIsNull Returns if this IJavaObjectBase is a null object within the JVM
Public propertyJniClassName The JNI class name of this IJavaObjectBase
Public propertyJVMType The IJavaType of this IJavaObjectBase
Public propertyPointer The native pointer of the object
Public propertyReferenceObject The IJavaObject referenced from the instance of IJavaObjectBase, maybe it is null in many conditions
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodEquals Checks for the equality between this instance and other
Public methodHashCode Returns the int value of JVM hashCode
Public methodMonitorEnter Enters the monitor associated with the underlying with this IJavaObjectBase
Public methodMonitorExit Exits the monitor associated with the underlying with this IJavaObjectBase
Public methodNotify Wakes up a single thread that is waiting on this object's monitor.
Public methodNotifyAll Wakes up all threads that are waiting on this object's monitor.
Public methodToArray Returns a .NET array containing a copy of the JVM object data.

When called on an IJavaObject instance that represents a JVM array, the returned object is an IJavaArray wrapping the underlying JVM array. When called on an IJavaArray instance, the returned object is a typed .NET array whose element type depends on the underlying JVM primitive or reference type, as described in the returns section below.

Public methodToPrimitive Converts this IJavaObjectBase to a primitive value.
Public methodToPrimitiveTReturn Converts this IJavaObjectBase to a primitive value.
Public methodToString Returns the String representation of this instance
Public methodWait Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
Public methodWait(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.
Public methodWait(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.
Top
See Also