Package com.graphhopper.routing.ev
Class ArrayEdgeIntAccess
java.lang.Object
com.graphhopper.routing.ev.ArrayEdgeIntAccess
- All Implemented Interfaces:
EdgeIntAccess
-
Constructor Summary
Constructors -
Method Summary
-
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 interfaceEdgeIntAccess
-
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 interfaceEdgeIntAccess
-