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.
|
---|
2 | package org.openstreetmap.josm.data.gpx;
|
---|
3 |
|
---|
4 | import java.util.Collection;
|
---|
5 | import java.util.Map;
|
---|
6 |
|
---|
7 | import 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 | */
|
---|
13 | public 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.