public class EdgeList extends Object
| Constructor and Description |
|---|
EdgeList()
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Edge
Insert an edge unless it is already in the list
|
void |
addAll(Collection
|
int |
findEdgeIndex(Edge
If the edge e is already in the list, return its index.
|
Edge |
findEqualEdge(Edge
If there is an edge equal to e already in the list, return it.
|
Edge |
get(int i)
|
List |
getEdges()
|
Iterator |
iterator()
|
void |
print(PrintStream
|
public void add(Edgee)
public void addAll(CollectionedgeColl)
public ListgetEdges()
public EdgefindEqualEdge(Edge e)
public Iteratoriterator()
public Edgeget(int i)
public int findEdgeIndex(Edgee)
public void print(PrintStreamout)