Class ArrayEdgeIntAccess

java.lang.Object
com.graphhopper.routing.ev.ArrayEdgeIntAccess
All Implemented Interfaces:
EdgeIntAccess

public class ArrayEdgeIntAccess extends Object implements EdgeIntAccess
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrayEdgeIntAccess(int intsPerEdge)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getInt(int edgeId, int index)
    Gets the int value at the given index for the given edgeId
    void
    setInt(int edgeId, int index, int value)
    Sets the int value at the given index for the given edgeId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ArrayEdgeIntAccess

      public ArrayEdgeIntAccess(int intsPerEdge)
  • Method Details

    • getInt

      public int getInt(int edgeId, int index)
      Description copied from interface: EdgeIntAccess
      Gets the int value at the given index for the given edgeId
      Specified by:
      getInt in interface EdgeIntAccess
    • setInt

      public void setInt(int edgeId, int index, int value)
      Description copied from interface: EdgeIntAccess
      Sets the int value at the given index for the given edgeId
      Specified by:
      setInt in interface EdgeIntAccess