|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.samcrow.RouteManager
public class RouteManager
Contains routes that are being calculated
Field Summary | |
---|---|
private int |
index
|
private java.util.LinkedList<Route> |
routes
|
Constructor Summary | |
---|---|
RouteManager()
Default constructor |
Method Summary | |
---|---|
void |
addLink(Link link)
|
void |
addNode(Node node)
Add a node to the current route |
Route |
getFirstRoute()
|
java.util.LinkedList<Route> |
getRoutes()
Get a LinkedList of all the routes stored |
void |
newRoute()
Create a new route. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.LinkedList<Route> routes
private int index
Constructor Detail |
---|
public RouteManager()
Method Detail |
---|
public void addNode(Node node)
node
- the Node to addpublic void addLink(Link link)
public java.util.LinkedList<Route> getRoutes()
public Route getFirstRoute()
public void newRoute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |