Package org.deltava.beans.navdata
Class CacheableRoute
java.lang.Object
org.deltava.beans.navdata.CacheableRoute
- All Implemented Interfaces:
Serializable
,Route
,Cacheable
A bean to store a route and its waypoints.
- Since:
- 7.3
- Version:
- 7.3
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorDescriptionCacheableRoute
(String route, Collection<NavigationDataBean> waypoints) Creates the route. -
Method Summary
-
Constructor Details
-
CacheableRoute
Creates the route.- Parameters:
route
- the route textwaypoints
- the waypoints
-
-
Method Details
-
getWaypoints
Description copied from interface:Route
Returns the waypoints for this Route.- Specified by:
getWaypoints
in interfaceRoute
- Returns:
- a LinkedList of Intersections
-
getRoute
-
getSize
-
cacheKey
-
toString
-
hashCode
-
equals