public class PathDetailsFromEdges extends Object implements Path.EdgeVisitor
InstructionsFromEdges
.
This class uses the PathDetailsBuilder
. We provide every edge to the builder
and up to its internals we create a new interval, ie. a new PathDetail in the List.
PathDetail
Constructor and Description |
---|
PathDetailsFromEdges(List<PathDetailsBuilder> calculators,
int previousIndex) |
Modifier and Type | Method and Description |
---|---|
void |
finish() |
void |
next(EdgeIteratorState edge,
int index,
int prevEdgeId) |
public PathDetailsFromEdges(List<PathDetailsBuilder> calculators, int previousIndex)
public void next(EdgeIteratorState edge, int index, int prevEdgeId)
next
in interface Path.EdgeVisitor
public void finish()
finish
in interface Path.EdgeVisitor
Copyright © 2012–2019. All rights reserved.