Last change
on this file since 9073 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:
556 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.gpx;
|
---|
3 |
|
---|
4 | import java.util.Collection;
|
---|
5 |
|
---|
6 | import org.openstreetmap.josm.data.Bounds;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * Read-only gpx track segments. Implementations doesn't have to be immutable, but should always be thread safe.
|
---|
10 | *
|
---|
11 | */
|
---|
12 | public interface GpxTrackSegment {
|
---|
13 |
|
---|
14 | Bounds getBounds();
|
---|
15 |
|
---|
16 | Collection<WayPoint> getWayPoints();
|
---|
17 |
|
---|
18 | double length();
|
---|
19 |
|
---|
20 | /**
|
---|
21 | *
|
---|
22 | * @return Number of times this track has been changed. Always 0 for read-only segments
|
---|
23 | */
|
---|
24 | int getUpdateCount();
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.