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)
BatchableSearchResponseVisitor
FuzzySearchResponse
.
If you only want to use this method, then extend BatchableSearchResponseVisitorAdapter
instead of implementing this interface.visit
in interface BatchableSearchResponseVisitor
public void visit(GeometrySearchResponse geometrySearchResponse)
BatchableSearchResponseVisitor
GeometrySearchResponse
.
If you only want to use this method then extend BatchableSearchResponseVisitorAdapter
instead of implementing this interface.visit
in interface BatchableSearchResponseVisitor
public void visit(ReverseGeocoderSearchResponse reverseGeocoderSearchResponse)
BatchableSearchResponseVisitor
ReverseGeocoderSearchResponse
.
If you only want to use this method then extend BatchableSearchResponseVisitorAdapter
instead of implementing this interface.visit
in interface BatchableSearchResponseVisitor