<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class sun.tools.debug.RemoteValue
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-sun.tools.debug.html">This Package</a>  <a href="sun.tools.debug.RemoteThreadGroup.html#_top_">Previous</a>  <a href="sun.tools.debug.StackFrame.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class sun.tools.debug.RemoteValue
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----sun.tools.debug.RemoteValue
</pre>
<hr>
<dl>
  <dt> public abstract class <b>RemoteValue</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements AgentConstants
</dl>
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.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="sun.tools.debug.RemoteDebugger.html#_top_">RemoteDebugger</a>, <a href="sun.tools.debug.RemoteArray.html#_top_">RemoteArray</a>, <a href="sun.tools.debug.RemoteBoolean.html#_top_">RemoteBoolean</a>, <a href="sun.tools.debug.RemoteByte.html#_top_">RemoteByte</a>, <a href="sun.tools.debug.RemoteChar.html#_top_">RemoteChar</a>, <a href="sun.tools.debug.RemoteClass.html#_top_">RemoteClass</a>, <a href="sun.tools.debug.RemoteDouble.html#_top_">RemoteDouble</a>, <a href="sun.tools.debug.RemoteFloat.html#_top_">RemoteFloat</a>, <a href="sun.tools.debug.RemoteInt.html#_top_">RemoteInt</a>, <a href="sun.tools.debug.RemoteLong.html#_top_">RemoteLong</a>, <a href="sun.tools.debug.RemoteObject.html#_top_">RemoteObject</a>, <a href="sun.tools.debug.RemoteShort.html#_top_">RemoteShort</a>, <a href="sun.tools.debug.RemoteString.html#_top_">RemoteString</a>, <a href="sun.tools.debug.RemoteThread.html#_top_">RemoteThread</a>, <a href="sun.tools.debug.RemoteThreadGroup.html#_top_">RemoteThreadGroup</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#description()"><b>description</b></a>()
  <dd> Return a description of the RemoteValue.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#fromHex(java.lang.String)"><b>fromHex</b></a>(String)
  <dd> Convert hexadecimal strings to ints.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getType()"><b>getType</b></a>()
  <dd> Returns the RemoteValue's type.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isObject()"><b>isObject</b></a>()
  <dd>  Returns whether the RemoteValue is an Object (as opposed to
 a primitive type, such as int).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isString()"><b>isString</b></a>()
  <dd>  Returns whether the RemoteValue is an instance of java.lang.String.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toHex(int)"><b>toHex</b></a>(int)
  <dd> Convert an int to a hexadecimal string.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#typeName()"><b>typeName</b></a>()
  <dd>  Returns the RemoteValue's type as a string.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getType"><b>getType</b></a>
<pre>
 public final int getType()
</pre>
<dl>
  <dd> Returns the RemoteValue's type.
<p>
</dl>
<a name="isObject()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isObject"><b>isObject</b></a>
<pre>
 public final boolean isObject()
</pre>
<dl>
  <dd> Returns whether the RemoteValue is an Object (as opposed to
 a primitive type, such as int).
<p>
</dl>
<a name="isString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isString"><b>isString</b></a>
<pre>
 public final boolean isString()
</pre>
<dl>
  <dd> Returns whether the RemoteValue is an instance of java.lang.String.
<p>
</dl>
<a name="typeName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="typeName"><b>typeName</b></a>
<pre>
 public abstract <a href="java.lang.String.html#_top_">String</a> typeName() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Returns the RemoteValue's type as a string.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="description()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="description"><b>description</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> description()
</pre>
<dl>
  <dd> Return a description of the RemoteValue.
<p>
</dl>
<a name="toHex(int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toHex"><b>toHex</b></a>
<pre>
 public static <a href="java.lang.String.html#_top_">String</a> toHex(int n)
</pre>
<dl>
  <dd> Convert an int to a hexadecimal string.
<p>
</dl>
<a name="fromHex(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="fromHex"><b>fromHex</b></a>
<pre>
 public static int fromHex(<a href="java.lang.String.html#_top_">String</a> hexStr)
</pre>
<dl>
  <dd> Convert hexadecimal strings to ints.
<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-sun.tools.debug.html">This Package</a>  <a href="sun.tools.debug.RemoteThreadGroup.html#_top_">Previous</a>  <a href="sun.tools.debug.StackFrame.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
