Class BidirectionalLinearLocation
java.lang.Object
com.here.platform.location.referencing.BidirectionalLinearLocation
- All Implemented Interfaces:
ReferencingLocation
,Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public class BidirectionalLinearLocation
extends Object
implements ReferencingLocation, scala.Product, scala.Serializable
A linear location that has a main direction in the road network and an optional
opposite linear location.
param: location representing a path in the main direction. param: oppositeLocation representing a path in the opposite direction.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBidirectionalLinearLocation
(LinearLocation location, Optional<LinearLocation> oppositeLocation) BidirectionalLinearLocation
(LinearLocation location, scala.Option<LinearLocation> oppositeLocation) -
Method Summary
Modifier and TypeMethodDescriptionabstract static R
apply
(T1 v1, T2 v2) location()
scala.Option<LinearLocation>
static String
toString()
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
-
BidirectionalLinearLocation
public BidirectionalLinearLocation(LinearLocation location, scala.Option<LinearLocation> oppositeLocation) -
BidirectionalLinearLocation
public BidirectionalLinearLocation(LinearLocation location, Optional<LinearLocation> oppositeLocation)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
location
-
oppositeLocation
-
getLocation
-
getOppositeLocation
-