Click or drag to resize

IJavaObjectBase Methods

The IJavaObjectBase type exposes the following members.

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