Class EdgePropertyTile<T>

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

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

EdgePropertyTile relies on the set of EdgeIndex values associated with the Edges in a tile. In a tile, each Edge has a different EdgeIndex value, and, if #Edges represents the number of Edges, the value of an EdgeIndex is between 0 and #Edges - 1.

To save memory, EdgePropertyTile stores the edge properties in an array of size #Edges, whose name is values. For each Edge e, values(e.index.value) contains the property that applies to e.

See also

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

    • EdgePropertyTile

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

    • tileId

      public TileId tileId()
    • values

      public Object values()