public static class GpxData.LinesIterator extends java.lang.Object implements java.util.Iterator<java.util.Collection<WayPoint>>
Modifier and Type | Field and Description |
---|---|
private int |
idxTracks |
private java.util.Iterator<GpxRoute> |
itRoutes |
private java.util.Iterator<GpxTrack> |
itTracks |
private java.util.Iterator<GpxTrackSegment> |
itTrackSegments |
private java.util.Collection<WayPoint> |
next |
private boolean[] |
trackVisibility |
Constructor and Description |
---|
LinesIterator(GpxData data,
boolean[] trackVisibility)
Constructs a new
LinesIterator . |
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<WayPoint> |
getNext() |
boolean |
hasNext() |
java.util.Collection<WayPoint> |
next() |
void |
remove() |
private int idxTracks
private java.util.Iterator<GpxTrackSegment> itTrackSegments
private final boolean[] trackVisibility
public LinesIterator(GpxData data, boolean[] trackVisibility)
LinesIterator
.data
- GPX datatrackVisibility
- An array indicating which tracks should be
included in the iteration. Can be null, then all tracks are included.