com.c5corp.c5gps
Class TrackLogList

java.lang.Object
  extended by com.c5corp.c5gps.TrackLogList
All Implemented Interfaces:
GpsDataFileType, java.util.Enumeration

public class TrackLogList
extends java.lang.Object
implements GpsDataFileType, java.util.Enumeration

Emumeration of TrackLog objects.

Since:
2.0
Author:
Brett Stalbaum Copyright 2002-2006 see LICENSE.txt and UCSD_LICENSE.txt
See Also:
GpsDataFileType

Constructor Summary
TrackLogList(java.util.Vector<TrackLog> tracks)
          Constructs a TrackLogList from a vector of TrackLog objects
 
Method Summary
 boolean hasMoreElements()
          implements java.util.Enumeration
 TrackLog nextElement()
          implements java.util.Enumeration
 void reset()
          resets the java.util.Enumeration to the first element
 int size()
          returns the number of TrackLog objects in this TrackLogList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackLogList

public TrackLogList(java.util.Vector<TrackLog> tracks)
Constructs a TrackLogList from a vector of TrackLog objects

Parameters:
tracks -
See Also:
TrackLog
Method Detail

hasMoreElements

public boolean hasMoreElements()
implements java.util.Enumeration

Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
true if has more elements
See Also:
Enumeration

nextElement

public TrackLog nextElement()
                     throws java.util.NoSuchElementException
implements java.util.Enumeration

Specified by:
nextElement in interface java.util.Enumeration
Returns:
the next TrackLog
Throws:
java.util.NoSuchElementException
See Also:
Enumeration

size

public int size()
returns the number of TrackLog objects in this TrackLogList

Returns:
the number of TrackLogs

reset

public void reset()
resets the java.util.Enumeration to the first element