giden.GRDS
Class Index

java.lang.Object
  |
  +--giden.GRDS.Index
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Edge, Node

public class Index
extends java.lang.Object
implements java.io.Serializable

Copyright (c) 1993-2004 C. R. Coullard, D. S. Dilworth, J. H. Owen, All Rights Reserved.
We make no representations or warranties about the suitability of the software, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. We shall not be liable for any damages suffered by user as a result of using, modifying or distributing this software or its derivatives.

Index is a class used by its derived classes (for example, the Node and Edge classes) to manage a unique integer index. An index is assigned to an objects when it created (for example, in the Graph class). The index is retrievable through the object (Node or Edge), but can not be changed after it is created. The index value is also used by the IndexArray, NodeArray, and EdgeArray classes.

Copyright (c) 1993-2003 C. R. Coullard, D. S. Dilworth, J. H. Owen, All Rights Reserved.

Version:
4.0a 2004 08 27
Author:
D. S. Dilworth
See Also:
Edge, EdgeArray, Graph, IndexArray, Network, Node, NodeArray, Serialized Form

Constructor Summary
Index(int index)
          Creates an Index object and assigns its integer index
 
Method Summary
 int GetIndex()
          Gets the integer index for this object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Index

public Index(int index)
Creates an Index object and assigns its integer index
Method Detail

GetIndex

public int GetIndex()
Gets the integer index for this object
Returns:
The integer index for this object