Package com.graphhopper.util.details
Class ConstantDetailsBuilder
java.lang.Object
com.graphhopper.util.details.AbstractPathDetailsBuilder
com.graphhopper.util.details.ConstantDetailsBuilder
- All Implemented Interfaces:
PathDetailsBuilder
Simply returns the same value everywhere, useful to represent values that are the same between two (via-)points
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
The value of the Path at this moment, that should be stored in the PathDetail when calling startIntervalboolean
Methods inherited from class com.graphhopper.util.details.AbstractPathDetailsBuilder
build, endInterval, getName, startInterval, toString
-
Constructor Details
-
ConstantDetailsBuilder
-
-
Method Details
-
getCurrentValue
Description copied from class:AbstractPathDetailsBuilder
The value of the Path at this moment, that should be stored in the PathDetail when calling startInterval- Specified by:
getCurrentValue
in classAbstractPathDetailsBuilder
-
isEdgeDifferentToLastEdge
-