Class UndirectedPropertyTile<T>

java.lang.Object
com.here.platform.location.inmemory.graph.UndirectedPropertyTile<T>

public class UndirectedPropertyTile<T> extends Object
Contains the undirected property data for a single tile.

An undirected property applies to a whole road segment independently of direction. The length of a road segment is such an undirected property. This allows storing only one value per vertex pair instead of one value per vertex.

See also TiledUndirectedPropertyMap

param: values The values for this tile in the same order as the vertex pairs in the corresponding routinggraph layer tile. The number of entries should be exactly half the number of vertices in that routinggraph tile.

Note:
Although this object contains Arrays, you should treat it as immutable.
  • Constructor Details

    • UndirectedPropertyTile

      public UndirectedPropertyTile(TileId tileId, Object values)
  • Method Details

    • tileId

      public TileId tileId()
    • values

      public Object values()