public class ImmutableGpxTrack extends WithAttributes implements GpxTrack
| Modifier and Type | Field and Description |
|---|---|
private Bounds |
bounds |
private double |
length |
private java.util.Collection<GpxTrackSegment> |
segments |
attrFIX_VALUES, GPX_CMT, GPX_DESC, GPX_NAME, GPX_SRC, JOSM_EXTENSIONS_NAMESPACE_URI, META_AUTHOR_EMAIL, META_AUTHOR_LINK, META_AUTHOR_NAME, META_BOUNDS, META_COPYRIGHT_AUTHOR, META_COPYRIGHT_LICENSE, META_COPYRIGHT_YEAR, META_DESC, META_EXTENSIONS, META_KEYWORDS, META_LINKS, META_NAME, META_PREFIX, META_TIME, PT_AGEOFDGPSDATA, PT_DGPSID, PT_ELE, PT_FIX, PT_GEOIDHEIGHT, PT_HDOP, PT_MAGVAR, PT_PDOP, PT_SAT, PT_SYM, PT_TIME, PT_TYPE, PT_VDOP, RTE_TRK_KEYS, WPT_KEYS| Constructor and Description |
|---|
ImmutableGpxTrack(java.util.Collection<java.util.Collection<WayPoint>> trackSegs,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
private Bounds |
calculateBounds() |
private double |
calculateLength() |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
Bounds |
getBounds() |
java.util.Collection<GpxTrackSegment> |
getSegments() |
int |
getUpdateCount() |
double |
length() |
addExtension, get, getCollection, getString, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, get, getCollection, getString, putprivate final java.util.Collection<GpxTrackSegment> segments
private final double length
public ImmutableGpxTrack(java.util.Collection<java.util.Collection<WayPoint>> trackSegs, java.util.Map<java.lang.String,java.lang.Object> attributes)
private double calculateLength()
private Bounds calculateBounds()
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes in interface GpxTrackpublic java.util.Collection<GpxTrackSegment> getSegments()
getSegments in interface GpxTrackpublic int getUpdateCount()
getUpdateCount in interface GpxTrack