| Constructor and Description |
|---|
EdgeList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Edge edge)
Insert an edge unless it is already in the list
|
void |
addAll(Collection<? extends Edge> edges) |
int |
findEdgeIndex(Edge e)
If the edge e is already in the list, return its index.
|
Edge |
findEqualEdge(Edge e)
If there is an edge equal to e already in the list, return it.
|
Edge |
get(int i) |
List<Edge> |
getEdges() |
Iterator<Edge> |
iterator() |
String |
toString() |
public void add(Edge edge)
public void addAll(Collection<? extends Edge> edges)
public int findEdgeIndex(Edge e)
public Edge findEqualEdge(Edge e)
public Edge get(int i)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.