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
50 return type;
51 }
52
66 public int getValue() {
67 return value;
68 }
69
82 public float getDistance() {
83 return distance;
84 }
85
86 @Override
87 public String toString() {
88 return "RouteEvent{" +
89 "type=" + type +
90 "," + "value=" + value +
91 "," + "distance=" + distance +
92 "}";
93 }
94
95}