-
public final class RadarRoutesRepresents routes from an origin to a destination.
-
-
Field Summary
Fields Modifier and Type Field Description private final RadarRoutegeodesicprivate final RadarRoutefootprivate final RadarRoutebikeprivate final RadarRoutecarprivate final RadarRoutetruckprivate final RadarRoutemotorbike
-
Constructor Summary
Constructors Constructor Description RadarRoutes(RadarRoute geodesic, RadarRoute foot, RadarRoute bike, RadarRoute car, RadarRoute truck, RadarRoute motorbike)
-
Method Summary
Modifier and Type Method Description final RadarRoutegetGeodesic()The geodesic distance between the origin and destination. final RadarRoutegetFoot()The route by foot between the origin and destination. final RadarRoutegetBike()The route by bike between the origin and destination. final RadarRoutegetCar()The route by car between the origin and destination. final RadarRoutegetTruck()The route by truck between the origin and destination. final RadarRoutegetMotorbike()The route by motorbike between the origin and destination. final JSONObjecttoJson()-
-
Constructor Detail
-
RadarRoutes
RadarRoutes(RadarRoute geodesic, RadarRoute foot, RadarRoute bike, RadarRoute car, RadarRoute truck, RadarRoute motorbike)
-
-
Method Detail
-
getGeodesic
final RadarRoute getGeodesic()
The geodesic distance between the origin and destination.
-
getFoot
final RadarRoute getFoot()
The route by foot between the origin and destination. May be
nullif mode not specified or route unavailable.
-
getBike
final RadarRoute getBike()
The route by bike between the origin and destination. May be
nullif mode not specified or route unavailable.
-
getCar
final RadarRoute getCar()
The route by car between the origin and destination. May be
nullif mode not specified or route unavailable.
-
getTruck
final RadarRoute getTruck()
The route by truck between the origin and destination. May be
nullif mode not specified or route unavailable.
-
getMotorbike
final RadarRoute getMotorbike()
The route by motorbike between the origin and destination. May be
nullif mode not specified or route unavailable.
-
toJson
final JSONObject toJson()
-
-
-
-