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.
-
NodeList()
-
-
addNode(Node)
-
-
addNodeAt(Node, int)
-
-
clone()
-
-
count()
-
-
firstNode()
-
-
firstNodeIndex()
-
-
getFirstAvailable()
-
-
highestIndex()
- Return the largest node index.
-
nextNode(Node)
-
-
nextNodeIndex(int)
-
-
nodeFromIndex(int)
-
-
removeNode(Node)
-
-
removeNodeAt(int)
-
-
updateFirstAvailable(int)
-
NodeList
public NodeList()
count
public int count()
highestIndex
public int highestIndex()
- Return the largest node index.
getFirstAvailable
public int getFirstAvailable()
addNodeAt
public void addNodeAt(Node new_node,
int index)
addNode
public void addNode(Node new_node)
updateFirstAvailable
public void updateFirstAvailable(int start)
removeNodeAt
public void removeNodeAt(int index)
removeNode
public void removeNode(Node node)
firstNode
public Node firstNode()
nextNode
public Node nextNode(Node prev_node)
firstNodeIndex
public int firstNodeIndex()
nextNodeIndex
public int nextNodeIndex(int prev_index)
nodeFromIndex
public Node nodeFromIndex(int index)
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index