Package Array.streamerOrigin
Class GPSOriginIterator
java.lang.Object
Array.streamerOrigin.OriginIterator
Array.streamerOrigin.GPSOriginIterator
- All Implemented Interfaces:
 Iterator<GpsData>,ListIterator<GpsData>
This is more complicated than the stramerDataIterator since it needs to 
 combine data from two sources. First it needs to find the most appropriate
 streamer data for the given time, then it needs to find the closest GPS data to 
 that time, then it needs to combine the two. 
 The main iteration will actually be over GPS data, then for each GPS position 
 find the closest (or interpolate) streamer data, then make a new streamer data
 unit that contains the gps data to return to the loacliser.
- Author:
 - Doug Gillespie
 
- 
Field Summary
Fields inherited from class Array.streamerOrigin.OriginIterator
streamer - 
Constructor Summary
ConstructorsConstructorDescriptionGPSOriginIterator(Streamer streamer, int whereFrom, GPSDataBlock gpsDataBlock)  - 
Method Summary
Methods inherited from class Array.streamerOrigin.OriginIterator
movePreceedingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining 
- 
Constructor Details
- 
GPSOriginIterator
 
 - 
 - 
Method Details
- 
hasNext
public boolean hasNext() - 
next
 - 
hasPrevious
public boolean hasPrevious() - 
previous
 - 
nextIndex
public int nextIndex() - 
previousIndex
public int previousIndex() - 
remove
public void remove() - 
set
 - 
add
 
 -