Class EDU.auburn.VGJ.graph.NodeList
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.auburn.VGJ.graph.NodeList

java.lang.Object
   |
   +----EDU.auburn.VGJ.graph.NodeList

public class NodeList
extends Object
implements Cloneable
A NodeList class for use in a Graph.

Here is the source.

Constructor Index

 o NodeList()

Method Index

 o addNode(Node)
 o addNodeAt(Node, int)
 o clone()
 o count()
 o firstNode()
 o firstNodeIndex()
 o getFirstAvailable()
 o highestIndex()
Return the largest node index.
 o nextNode(Node)
 o nextNodeIndex(int)
 o nodeFromIndex(int)
 o removeNode(Node)
 o removeNodeAt(int)
 o updateFirstAvailable(int)

Constructors

 o NodeList
  public NodeList()

Methods

 o count
  public int count()
 o highestIndex
  public int highestIndex()
Return the largest node index.
 o getFirstAvailable
  public int getFirstAvailable()
 o addNodeAt
  public void addNodeAt(Node new_node,
                        int index)
 o addNode
  public void addNode(Node new_node)
 o updateFirstAvailable
  public void updateFirstAvailable(int start)
 o removeNodeAt
  public void removeNodeAt(int index)
 o removeNode
  public void removeNode(Node node)
 o firstNode
  public Node firstNode()
 o nextNode
  public Node nextNode(Node prev_node)
 o firstNodeIndex
  public int firstNodeIndex()
 o nextNodeIndex
  public int nextNodeIndex(int prev_index)
 o nodeFromIndex
  public Node nodeFromIndex(int index)
 o clone
  public Object clone() throws CloneNotSupportedException
Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index