Loading...
Searching...
No Matches
RouteProgress.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
7public final class RouteProgress {
8
9
10 /*package*/ final GlobalPoint point;
11
12 /*package*/ final Integer sublocationId;
13
14 /*package*/ final float advance;
15
16 /*package*/ final float remainingDistance;
17
18 /*package*/ final float remainingTime;
19
20 /*package*/ final int legIndex;
21
26 GlobalPoint point,
27 Integer sublocationId,
28 float advance,
29 float remainingDistance,
30 float remainingTime,
31 int legIndex) {
32 this.point = point;
33 this.sublocationId = sublocationId;
34 this.advance = advance;
35 this.remainingDistance = remainingDistance;
36 this.remainingTime = remainingTime;
37 this.legIndex = legIndex;
38 }
39
41 return point;
42 }
43
44 public Integer getSublocationId() {
45 return sublocationId;
46 }
47
48 public float getAdvance() {
49 return advance;
50 }
51
52 public float getRemainingDistance() {
53 return remainingDistance;
54 }
55
61 public float getRemainingTime() {
62 return remainingTime;
63 }
64
65 public int getLegIndex() {
66 return legIndex;
67 }
68
69 @Override
70 public String toString() {
71 return "RouteProgress{" +
72 "point=" + point +
73 "," + "sublocationId=" + sublocationId +
74 "," + "advance=" + advance +
75 "," + "remainingDistance=" + remainingDistance +
76 "," + "remainingTime=" + remainingTime +
77 "," + "legIndex=" + legIndex +
78 "}";
79 }
80
81}