public class BatchableSearchResponseVisitorAdapter extends java.lang.Object implements BatchableSearchResponseVisitor
BatchableSearchResponseVisitor. It can be useful for better
code readability when not all interface methods are to be implemented.| Constructor and Description |
|---|
BatchableSearchResponseVisitorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(FuzzySearchResponse fuzzySearchResponse)
Allows the use of a visitor design pattern for
FuzzySearchResponse. |
void |
visit(GeometrySearchResponse geometrySearchResponse)
Allows the use of a visitor design pattern for
GeometrySearchResponse. |
void |
visit(ReverseGeocoderSearchResponse reverseGeocoderSearchResponse)
Allows the use of a visitor design pattern for
ReverseGeocoderSearchResponse. |
public BatchableSearchResponseVisitorAdapter()
public void visit(FuzzySearchResponse fuzzySearchResponse)
BatchableSearchResponseVisitorFuzzySearchResponse.
If you only want to use this method, then extend BatchableSearchResponseVisitorAdapter
instead of implementing this interface.visit in interface BatchableSearchResponseVisitorpublic void visit(GeometrySearchResponse geometrySearchResponse)
BatchableSearchResponseVisitorGeometrySearchResponse.
If you only want to use this method then extend BatchableSearchResponseVisitorAdapter
instead of implementing this interface.visit in interface BatchableSearchResponseVisitorpublic void visit(ReverseGeocoderSearchResponse reverseGeocoderSearchResponse)
BatchableSearchResponseVisitorReverseGeocoderSearchResponse.
If you only want to use this method then extend BatchableSearchResponseVisitorAdapter
instead of implementing this interface.visit in interface BatchableSearchResponseVisitor