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 isString()
Returns whether the RemoteValue is an instance of java.lang.String.
 o toHex(int)
Convert an int to a hexadecimal string.
 o typeName()
Returns the RemoteValue's type as a string.

Methods

 o getType
    method getType() returns int public   final  
Returns the RemoteValue's type.

 o isObject
    method isObject() returns boolean public   final  
Returns whether the RemoteValue is an Object (as opposed to a primitive type, such as int).

 o isString
    method isString() returns boolean public   final  
Returns whether the RemoteValue is an instance of java.lang.String.

 o typeName
    method typeName() returns String public abstract    Signals Exception
Returns the RemoteValue's type as a string.

 o description
    method description() returns String public     
Return a description of the RemoteValue.

 o toHex
    method toHex(n=int) returns String public  static   
Convert an int to a hexadecimal string.

 o fromHex
    method fromHex(hexStr=String) returns int public  static   
Convert hexadecimal strings to ints.


All Packages  Class Hierarchy  This Package  Previous  Next  Index