<!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.RemoteArray
</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="Package-sun.tools.debug.html">Previous</a>  <a href="sun.tools.debug.RemoteBoolean.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class sun.tools.debug.RemoteArray
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="sun.tools.debug.RemoteValue.html#_top_">sun.tools.debug.RemoteValue</a>
           |
           +----<a href="sun.tools.debug.RemoteObject.html#_top_">sun.tools.debug.RemoteObject</a>
                   |
                   +----sun.tools.debug.RemoteArray
</pre>
<hr>
<dl>
  <dt> public class <b>RemoteArray</b>
  <dt> extends <a href="sun.tools.debug.RemoteObject.html#_top_">RemoteObject</a>
</dl>
The RemoteArray class allows remote debugging of arrays.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="sun.tools.debug.RemoteValue.html#_top_">RemoteValue</a>, <a href="sun.tools.debug.RemoteDebugger.html#_top_">RemoteDebugger</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="#arrayTypeName(int)"><b>arrayTypeName</b></a>(int)
  <dd> Return the element type as a string.
  <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 array.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getElement(int)"><b>getElement</b></a>(int)
  <dd>  Return an array element.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getElements()"><b>getElements</b></a>()
  <dd>  Returns a copy of the array as instances of RemoteValue.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getElements(int, int)"><b>getElements</b></a>(int, int)
  <dd>  Returns a copy of a portion of the array as instances of RemoteValue.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getElementType()"><b>getElementType</b></a>()
  <dd>  Return the element type as a "TC_" constant, such as "TC_CHAR".
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getSize()"><b>getSize</b></a>()
  <dd> Return the number of elements in the array.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd> Return a string version of the array.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#typeName()"><b>typeName</b></a>()
  <dd> Return this RemoteValue's type ("array").
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getSize"><b>getSize</b></a>
<pre>
 public final int getSize()
</pre>
<dl>
  <dd> Return the number of elements in the array.
<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 <a href="java.lang.String.html#_top_">String</a> typeName()
</pre>
<dl>
  <dd> Return this RemoteValue's type ("array").
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="sun.tools.debug.RemoteObject.html#typeName()">typeName</a> in class <a href="sun.tools.debug.RemoteObject.html#_top_">RemoteObject</a>
  </dl></dd>
</dl>
<a name="arrayTypeName(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="arrayTypeName"><b>arrayTypeName</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> arrayTypeName(int type)
</pre>
<dl>
  <dd> Return the element type as a string.
<p>
</dl>
<a name="getElementType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getElementType"><b>getElementType</b></a>
<pre>
 public final int getElementType() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Return the element type as a "TC_" constant, such as "TC_CHAR".
<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="getElement(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getElement"><b>getElement</b></a>
<pre>
 public final <a href="sun.tools.debug.RemoteValue.html#_top_">RemoteValue</a> getElement(int index) throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Return an array element.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> index - the index of the element
    <dt> <b>Returns:</b>
    <dd> the element as a RemoteValue
    <dt> <b>Throws:</b> <a href="java.lang.ArrayIndexOutOfBoundsException.html#_top_">ArrayIndexOutOfBoundsException</a>
    <dd> when the index is greater than the size of the array
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="getElements()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getElements"><b>getElements</b></a>
<pre>
 public final <a href="sun.tools.debug.RemoteValue.html#_top_">RemoteValue</a>[] getElements() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Returns a copy of the array as instances of RemoteValue.
<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="getElements(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getElements"><b>getElements</b></a>
<pre>
 public final <a href="sun.tools.debug.RemoteValue.html#_top_">RemoteValue</a>[] getElements(int beginIndex,
                                        int endIndex) throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Returns a copy of a portion of the array as instances of RemoteValue.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> beginIndex - the beginning array index
    <dd> endIndex - the final array index
    <dt> <b>Throws:</b> <a href="java.lang.ArrayIndexOutOfBoundsException.html#_top_">ArrayIndexOutOfBoundsException</a>
    <dd> when the index is greater than the size of the array
    <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 array.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="sun.tools.debug.RemoteObject.html#description()">description</a> in class <a href="sun.tools.debug.RemoteObject.html#_top_">RemoteObject</a>
  </dl></dd>
</dl>
<a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> toString()
</pre>
<dl>
  <dd> Return a string version of the array.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="sun.tools.debug.RemoteObject.html#toString()">toString</a> in class <a href="sun.tools.debug.RemoteObject.html#_top_">RemoteObject</a>
  </dl></dd>
</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="Package-sun.tools.debug.html">Previous</a>  <a href="sun.tools.debug.RemoteBoolean.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
