|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.c5corp.c5gps.WayPointList
public class WayPointList
A WayPointList is a container class for a list of WayPoint objects. A list of waypoints is typically stored in a file; this object represents such a file. The file has header data that applies to all of the waypoints it contains, but for WayPoints this data is added as local fields to individual WayPoint objects. These lists are not conceptually "ordered" data. Rather, individual waypoints simply describe a point on the Earth and related Date/Time data, and this list simply stores the objects.
WayPoint,
CsvWayPointListFilter| Constructor Summary | |
|---|---|
WayPointList(java.util.Vector<WayPoint> wp)
|
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
implements java.util.Enumeration |
WayPoint |
nextElement()
implements java.util.Enumeration |
void |
reset()
resets the java.util.Enumeration to the first element |
int |
size()
returns the number of WayPoints in this WayPointList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WayPointList(java.util.Vector<WayPoint> wp)
wp - a Vector| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.EnumerationEnumeration
public WayPoint nextElement()
throws java.util.NoSuchElementException
nextElement in interface java.util.Enumerationjava.util.NoSuchElementExceptionEnumerationpublic int size()
public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||