source: josm/trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java@ 9853

Last change on this file since 9853 was 8510, checked in by Don-vip, 9 years ago

checkstyle: enable relevant whitespace checks and fix them

  • Property svn:eol-style set to native
File size: 632 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.gpx;
3
4import java.util.Collection;
5import java.util.Map;
6
7import org.openstreetmap.josm.data.Bounds;
8
9/**
10 * Read-only gpx track. Implementations doesn't have to be immutable, but should always be thread safe.
11 *
12 */
13public interface GpxTrack extends IWithAttributes {
14
15 Collection<GpxTrackSegment> getSegments();
16
17 Map<String, Object> getAttributes();
18
19 Bounds getBounds();
20
21 double length();
22
23 /**
24 *
25 * @return Number of times this track has been changed. Always 0 for read-only tracks
26 */
27 int getUpdateCount();
28}
Note: See TracBrowser for help on using the repository browser.