Loading...
Searching...
No Matches
RouteEvent.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
16public final class RouteEvent {
17
18
19 /*package*/ final RouteEventType type;
20
21 /*package*/ final int value;
22
23 /*package*/ final float distance;
24
28 public RouteEvent(
29 RouteEventType type,
30 int value,
31 float distance) {
32 this.type = type;
33 this.value = value;
34 this.distance = distance;
35 }
36
41 return type;
42 }
43
48 public int getValue() {
49 return value;
50 }
51
55 public float getDistance() {
56 return distance;
57 }
58
59 @Override
60 public String toString() {
61 return "RouteEvent{" +
62 "type=" + type +
63 "," + "value=" + value +
64 "," + "distance=" + distance +
65 "}";
66 }
67
68}