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 to use visitor design patter for
ReachableRangeResponse. |
void |
visit(RouteResponse routeResponse)
Allows to use visitor design pattern for
RouteResponse. |
public BatchableRoutingResponseVisitorAdapter()
public void visit(RouteResponse routeResponse)
BatchableRoutingResponseVisitorRouteResponse.visit in interface BatchableRoutingResponseVisitorpublic void visit(ReachableRangeResponse reachableRangeesponse)
BatchableRoutingResponseVisitorReachableRangeResponse.visit in interface BatchableRoutingResponseVisitor