public class BatchableRoutingResponseVisitorAdapter extends java.lang.Object implements BatchableRoutingResponseVisitor
BatchableRoutingResponseVisitor
. It can be useful for better
code readability when not all interface methods are to be implemented.Constructor and Description |
---|
BatchableRoutingResponseVisitorAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
visit(ReachableRangeResponse reachableRangeesponse)
Allows the use of a visitor design patter for
ReachableRangeResponse . |
void |
visit(RouteResponse routeResponse)
Allows the use of a visitor design pattern for
RouteResponse . |
public BatchableRoutingResponseVisitorAdapter()
public void visit(RouteResponse routeResponse)
BatchableRoutingResponseVisitor
RouteResponse
.visit
in interface BatchableRoutingResponseVisitor
public void visit(ReachableRangeResponse reachableRangeesponse)
BatchableRoutingResponseVisitor
ReachableRangeResponse
.visit
in interface BatchableRoutingResponseVisitor