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
-
NUL
-
-
clone()
- Returns a deep-copied clone of this ListItem.
-
getCoord()
- Get currrent coordinate at dimension 0.
-
getCoord(int)
- Get currrent coordinate at specified dimension .
-
getCoordArray()
- Get currrent coordinate.
NUL
protected static final int NUL
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
getCoord
public int getCoord()
- Get currrent coordinate at dimension 0.
- Returns:
- current coordinate at dimension 0.
getCoord
public int getCoord(int dimension)
- Get currrent coordinate at specified dimension .
- Parameters:
- dimension - which dimension to get.
- Returns:
- current coordinate at dimension.
getCoordArray
public int[] getCoordArray()
- Get currrent coordinate.
- Returns:
- current coordinate.
All Packages Class Hierarchy This Package Previous Next Index