FileDocCategorySizeDatePackage
NodeData.javaAPI DocJava SE 5 API863Fri Aug 26 14:54:30 BST 2005com.sun.corba.se.impl.orbutil.graph

NodeData

public class NodeData extends Object
Data about a node in a graph.

Fields Summary
private boolean
visited
private boolean
root
Constructors Summary
public NodeData()

	clear() ;
    
Methods Summary
public voidclear()

	this.visited = false ;
	this.root = true ;
    
booleanisRoot()
Return whether this node is a root.

	return root ;
    
booleanisVisited()
Return whether this node has been visited in a traversal. Note that we only support a single traversal at a time.

	return visited ;
    
voidnotRoot()

	root = false ;
    
voidvisited()

	visited = true ;