|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.c5corp.c5gps.RouteList
public class RouteList
A RouteList is a container class for a list of Route objects. A list of Routes is typically stored in a file; this object represents such a file. The file has header data that applies to all of the Routes it contains.
Route
,
CsvRouteListFilter
Constructor Summary | |
---|---|
RouteList(java.util.Vector<Route> routes)
Constructs a RouteList from a Vector of Route objects |
Method Summary | |
---|---|
java.util.Vector<RoutePoint> |
getRoutePointDatabase()
returns the entire Vector of RoutePoint objects represented as the entire RoutePoint database in this list of Routes. |
boolean |
hasMoreElements()
implements java.util.Enumeration |
Route |
nextElement()
implements java.util.Enumeration |
void |
reset()
resets the java.util.Enumeration to the first element |
int |
size()
returns the number of RoutePoints in this RoutePointList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RouteList(java.util.Vector<Route> routes)
routes
- a VectorRoute
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
Enumeration
public Route nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
Enumeration
public java.util.Vector<RoutePoint> getRoutePointDatabase()
public int size()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |