| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents the edge adjacency list for a node.
| Method Summary | |
 void | 
add(Edge edge)
Adds an edge to the edge list.  | 
 boolean | 
contains(Edge edge)
Determines if the edge list contains a certain edge.  | 
 Edge | 
getEdge(Node n1,
        Node n2)
Returns an edge in the list ended by specfic nodes.  | 
 java.util.List | 
getEdges()
Returns the edges contained in the edge list.  | 
 java.util.List | 
getOtherEdges(Edge edge)
Returns the edges in the list minus a specific edge.  | 
 java.util.List | 
getOtherNodes(Node node)
Returns a collection of nodes adjacent to edges in the list minus a specifc node.  | 
 int | 
getSize()
Returns the size of the edge list.  | 
 void | 
remove(Edge edge)
Removed an edge from the edge list.  | 
| Method Detail | 
public java.util.List getEdges()
public void add(Edge edge)
edge - the edge to be added.public void remove(Edge edge)
edge - the edge to be removed.
public Edge getEdge(Node n1,
                    Node n2)
n1 - Starting Edge Noden2 - Ending Edge Node
public int getSize()
public java.util.List getOtherEdges(Edge edge)
edge - The edge not to be returned.
public java.util.List getOtherNodes(Node node)
node - The node not to be returned.
public boolean contains(Edge edge)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||