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
implements AgentConstants
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

Method Index

 o description()
Return a description of the RemoteValue.
 o fromHex(String)
Convert hexadecimal strings to ints.
 o getType()
Returns the RemoteValue's type.
 o isObject()
Returns whether the RemoteValue is an Object (as opposed to a primitive type, such as int).
 o toHex(int)
Convert an int to a hexadecimal string.
 o typeName()
Returns the RemoteValue's type as a string.

Methods

 o getType
  public final int getType()
Returns the RemoteValue's type.
 o isObject
  public final boolean isObject()
Returns whether the RemoteValue is an Object (as opposed to a primitive type, such as int).
 o typeName
  public abstract String typeName() throws Exception
Returns the RemoteValue's type as a string.
 o description
  public String description()
Return a description of the RemoteValue.
 o toHex
  public static String toHex(int n)
Convert an int to a hexadecimal string.
 o fromHex
  public static int fromHex(String hexStr)
Convert hexadecimal strings to ints.

All Packages  Class Hierarchy  This Package  Previous  Next  Index