|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.c5corp.c5gps.GpsType
com.c5corp.c5gps.GpsPointCollection
com.c5corp.c5gps.Route
public class Route
A Route is a container class for a list of RoutePoint objects. A list of RoutePoints is typically stored in a file; this object represents such a file. The file has header data that applies to all of the RoutePoints it contains, but for RoutePoints this data is added as local fields to individual RoutePoint objects. These lists are conceptually "ordered" data. Another important matter to note is that all of the C5UTM GpsDataFileType classes and the data classes they encapsulate are intended for use with a relational database application. There are fields in typical GPS data that are ignored by these classes, and often, floating point type numbers are rounded to intergers.
RoutePoint
,
CsvRouteListFilter
Field Summary |
---|
Fields inherited from class com.c5corp.c5gps.GpsType |
---|
hdatum |
Constructor Summary | |
---|---|
Route(java.util.Vector<RoutePoint> routePoints,
java.lang.String name)
|
Method Summary | |
---|---|
boolean |
equals(Route route)
Compares the another Route to this to see if they are equivalent. |
Route |
getCopy()
Returns a Route object that is a copy of this |
java.lang.String |
getRouteName()
returns the name of this route |
boolean |
hasMoreElements()
implements java.util.Enumeration |
RoutePoint |
nextElement()
implements java.util.Enumeration |
void |
reset()
resets the java.util.Enumeration to the first element |
int |
size()
returns the number of elements (RoutePoints) in this Route. |
java.lang.String |
toString()
override toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Route(java.util.Vector<RoutePoint> routePoints, java.lang.String name)
routePoints
- a Vectorname
- the name of the RouteMethod Detail |
---|
public boolean hasMoreElements()
Enumeration
public RoutePoint nextElement() throws java.util.NoSuchElementException
java.util.NoSuchElementException
Enumeration
public void reset()
public java.lang.String getRouteName()
public int size()
public boolean equals(Route route)
route
- the Route to compare
public Route getCopy()
public java.lang.String toString()
override toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |