Class UpcomingRouteAlert
-
- All Implemented Interfaces:
public final class UpcomingRouteAlertHolds the route alert and the distance to the point where the alert occurs, or start an alert if it has length.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUpcomingRouteAlert.BuilderUse to create a new instance.
-
Field Summary
Fields Modifier and Type Field Description private final RouteAlertrouteAlertprivate final DoubledistanceToStart
-
Method Summary
Modifier and Type Method Description final RouteAlertgetRouteAlert()final DoublegetDistanceToStart()final UpcomingRouteAlert.BuildertoBuilder()Transform this object into a builder to mutate the values. Booleanequals(Object other)Indicates whether some other object is "equal to" this one. IntegerhashCode()Returns a hash code value for the object. StringtoString()Returns a string representation of the object.
-
-
-
Method Detail
-
getRouteAlert
final RouteAlert getRouteAlert()
-
getDistanceToStart
final Double getDistanceToStart()
-
toBuilder
final UpcomingRouteAlert.Builder toBuilder()
Transform this object into a builder to mutate the values.
-
-