Package Array.streamerOrigin
Class StreamerDataIterator
java.lang.Object
Array.streamerOrigin.OriginIterator
Array.streamerOrigin.StreamerDataIterator
- All Implemented Interfaces:
Iterator<GpsData>
,ListIterator<GpsData>
Iterator for moving through streamer data. Hooks itself to the
streamer data block, but mucks with the iteration a bit to only return
data for a specific streamer.
Gets used by the StaticOriginMethod, which only uses the streamer position data but also can be use by the GPSOriginMethod which may want to pull in additional streamer information to add to the GPS data.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Methods inherited from class Array.streamerOrigin.OriginIterator
movePreceeding
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
StreamerDataIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()Create a complete origin position. This basically means adding in heading pitch and roll information to the gps data unit that was returned from the main streamer settings.- Parameters:
streamerData
- streamer data (a Streamer)- Returns:
- a GPS data unit complete with head, pitch and roll data.
-
previous
-
nextIndex
public int nextIndex() -
previousIndex
public int previousIndex() -
remove
public void remove() -
set
-
add
-