Interface TmcAdjacencyProvider
public interface TmcAdjacencyProvider
A provider capable of returning next and previous locations for a given location with
respect to an enclosing linear location.
-
Method Summary
Modifier and TypeMethodDescriptionscala.collection.Seq<Object>
nextLocationCodes
(TmcId tmcId) Returns the location codes that follow the given location (positive direction).scala.collection.Seq<Object>
previousLocationCodes
(TmcId tmcId) Returns the location codes that precede the given location (negative direction).
-
Method Details
-
nextLocationCodes
Returns the location codes that follow the given location (positive direction).- Parameters:
tmcId
- TMC ID of the location. The location needs to be enclosed in a linear location.- Returns:
- Location codes of the point locations that follow the given location in the enclosing linear location.
-
previousLocationCodes
Returns the location codes that precede the given location (negative direction).- Parameters:
tmcId
- TMC ID of the location. The location needs to be enclosed in a linear location.- Returns:
- Location codes of the point locations that precede the given location in the enclosing linear locations.
-