net.sourceforge.e4graph
Interface NodeVertex
- All Superinterfaces:
- Vertex
- public interface NodeVertex
- extends Vertex
The NodeVertex class provides the abstraction of a vertex
which stores a Node value.
- Author:
- Ryan Shaw
Method Summary |
Node |
getNode()
Returns the node value of this vertex. |
void |
setNode(Node value)
Sets the node value of this vertex. |
getNode
public Node getNode()
throws E4GraphException
- Returns the node value of this vertex.
- Specified by:
getNode
in interface Vertex
- Returns:
- the value of this vertex
- Throws:
E4GraphException
- if the vertex is closed
setNode
public void setNode(Node value)
throws E4GraphException
- Sets the node value of this vertex.
- Parameters:
value
- the new value of this vertex- Throws:
E4GraphException
- if the vertex is closed
Copyright (c) 2001, Silver Egg Technology Co., Ltd.