Class SpeedLimit
java.lang.Object
com.here.platform.location.integration.optimizedmap.commonattributes.SpeedLimit
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
,scala.Serializable
Speed limit information for the segment.
param: value The speed limit value in kilometers per hour, or zero if the speed limit is "unlimited"
param: source The source for how the speed limit was collected. See SpeedLimitSource
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
SpeedLimit
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
value
public int value() -
source
-
isUnlimited
public boolean isUnlimited()Returns true if the speed limit is unlimited -
getSource
-
getValue
public int getValue()
-