All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tw.edu.ncnu.im.cnclab.DataStru.ListItem

java.lang.Object
   |
   +----tw.edu.ncnu.im.cnclab.DataStru.ListItem

public class ListItem
extends Object
implements Cloneable, Serializable
The ListItem class is used to support the ListArray.

Recommendation: Use ListArray or ListArray2 to access data if possible.

Version:
0.4 Jul 8, 1999
Author:
Ding-Yi Chen
See Also:
ListArray, ListArray2

Variable Index

 o NUL

Method Index

 o clone()
Returns a deep-copied clone of this ListItem.
 o getCoord()
Get currrent coordinate at dimension 0.
 o getCoord(int)
Get currrent coordinate at specified dimension .
 o getCoordArray()
Get currrent coordinate.

Variables

 o NUL
 protected static final int NUL

Methods

 o clone
 protected synchronized Object clone()
Returns a deep-copied clone of this ListItem.

Returns:
a deep-copied clone of this ListItem.
Overrides:
clone in class Object
 o getCoord
 public int getCoord()
Get currrent coordinate at dimension 0.

Returns:
current coordinate at dimension 0.
 o getCoord
 public int getCoord(int dimension)
Get currrent coordinate at specified dimension .

Parameters:
dimension - which dimension to get.
Returns:
current coordinate at dimension.
 o getCoordArray
 public int[] getCoordArray()
Get currrent coordinate.

Returns:
current coordinate.

All Packages  Class Hierarchy  This Package  Previous  Next  Index