All Packages Class Hierarchy This Package Previous Next Index
Class sun.tools.debug.RemoteArray
java.lang.Object
|
+----sun.tools.debug.RemoteValue
|
+----sun.tools.debug.RemoteObject
|
+----sun.tools.debug.RemoteArray
- public class RemoteArray
- extends RemoteObject
The RemoteArray class allows remote debugging of arrays.
- See Also:
- RemoteValue, RemoteDebugger
-
arrayTypeName(int)
- Return the element type as a string.
-
description()
- Return a description of the array.
-
getElement(int)
- Return an array element.
-
getElements()
- Returns a copy of the array as instances of RemoteValue.
-
getElements(int, int)
- Returns a copy of a portion of the array as instances of RemoteValue.
-
getElementType()
- Return the element type as a "TC_" constant, such as "TC_CHAR".
-
getSize()
- Return the number of elements in the array.
-
toString()
- Return a string version of the array.
-
typeName()
- Return this RemoteValue's type ("array").
getSize
method getSize() returns int public final
- Return the number of elements in the array.
typeName
method typeName() returns String public
- Return this RemoteValue's type ("array").
- Overrides:
- typeName in class RemoteObject
arrayTypeName
method arrayTypeName(type=int) returns String public
- Return the element type as a string.
getElementType
method getElementType() returns int public final Signals Exception
- Return the element type as a "TC_" constant, such as "TC_CHAR".
- Throws: Exception
- if a general exception occurs.
getElement
method getElement(index=int) returns RemoteValue public final Signals Exception
- Return an array element.
- Parameters:
- index - the index of the element
- Returns:
- the element as a RemoteValue
- Throws: ArrayIndexOutOfBoundsException
- when the index is greater than the size of the array
- Throws: Exception
- if a general exception occurs.
getElements
method getElements() returns RemoteValue[] public final Signals Exception
- Returns a copy of the array as instances of RemoteValue.
- Throws: Exception
- if a general exception occurs.
getElements
method getElements(beginIndex=int, -
endIndex=int) returns RemoteValue[] public final Signals Exception
- Returns a copy of a portion of the array as instances of RemoteValue.
- Parameters:
- beginIndex - the beginning array index
- endIndex - the final array index
- Throws: ArrayIndexOutOfBoundsException
- when the index is greater than the size of the array
- Throws: Exception
- if a general exception occurs.
description
method description() returns String public
- Return a description of the array.
- Overrides:
- description in class RemoteObject
toString
method toString() returns String public
- Return a string version of the array.
- Overrides:
- toString in class RemoteObject
All Packages Class Hierarchy This Package Previous Next Index