Click or drag to resize

IJavaArray Methods

The IJavaArray 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
(Inherited from IJavaObjectBase)
Public methodGet(Int32) Returns the element at the position in index
Public methodGet(Int32, Int32) Returns a sub array at startIndex with a length of length
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from IEnumerable)
Public methodHashCode Returns the int value of JVM hashCode
(Inherited from IJavaObjectBase)
Public methodMonitorEnter Enters the monitor associated with the underlying with this IJavaObjectBase
(Inherited from IJavaObjectBase)
Public methodMonitorExit Exits the monitor associated with the underlying with this IJavaObjectBase
(Inherited from IJavaObjectBase)
Public methodNotify Wakes up a single thread that is waiting on this object's monitor.
(Inherited from IJavaObjectBase)
Public methodNotifyAll Wakes up all threads that are waiting on this object's monitor.
(Inherited from IJavaObjectBase)
Public methodSet(Int32, Object) Set the element at the position in index with the value in value
Public methodSetT(Int32, T) Set the elements in values starting from the position in startIndex
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.


(Inherited from IJavaObjectBase)
Public methodToPrimitive Converts this IJavaObjectBase to a primitive value.
(Inherited from IJavaObjectBase)
Public methodToStreamT Returns a JCOBridgeStreamT that wraps the native memory backing this IJavaArray instance, allowing it to be read or written as a standard .NET Stream.
Public methodToString Returns the String representation of this instance
(Inherited from IJavaObjectBase)
Public methodWait Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
(Inherited from IJavaObjectBase)
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.
(Inherited from IJavaObjectBase)
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.
(Inherited from IJavaObjectBase)
Top
See Also