Class sun.tools.debug.RemoteValue
All Packages Class Hierarchy This Package Previous Next Index
Class sun.tools.debug.RemoteValue
java.lang.Object
|
+----sun.tools.debug.RemoteValue
- public class RemoteValue
- extends Object
The RemoteValue class allows access to a copy of a value in the
remote Java interpreter. This value may be a primitive type, such
as a boolean or float, or an object, class, array, etc.
Remote values are not created by the local debugger, but are returned
by the remote debugging agent when queried for the values of instance
or static variables of known objects, or from local (stack) variables.
- See Also:
- RemoteDebugger, RemoteArray, RemoteBoolean, RemoteByte, RemoteChar, RemoteClass, RemoteDouble, RemoteFloat, RemoteInt, RemoteLong, RemoteObject, RemoteShort, RemoteString, RemoteThread, RemoteThreadGroup
-
description()
- Return a description of the RemoteValue.
-
fromHex(String)
- Convert hexadecimal strings to ints.
-
getType()
- Returns the RemoteValue's type.
-
isObject()
- Returns whether the RemoteValue is an Object (as opposed to
a primitive type, such as int).
-
toHex(int)
- Convert an int to a hexadecimal string.
-
typeName()
- Returns the RemoteValue's type as a string.
getType
public final int getType()
- Returns the RemoteValue's type.
isObject
public final boolean isObject()
- Returns whether the RemoteValue is an Object (as opposed to
a primitive type, such as int).
typeName
public abstract String typeName() throws Exception
- Returns the RemoteValue's type as a string.
description
public String description()
- Return a description of the RemoteValue.
toHex
public static String toHex(int n)
- Convert an int to a hexadecimal string.
fromHex
public static int fromHex(String hexStr)
- Convert hexadecimal strings to ints.
All Packages Class Hierarchy This Package Previous Next Index