protected static interface QueryElevationComponent.ElevationProvider
| Modifier and Type | Method and Description |
|---|---|
QueryElevationComponent.Elevation |
getElevationForQuery(String queryString)
Gets the elevation associated to the provided query.
|
int |
size()
Gets the number of query elevations in this
QueryElevationComponent.ElevationProvider. |
QueryElevationComponent.Elevation getElevationForQuery(String queryString)
By contract and by design, only one elevation may be associated to a given query (this can be safely verified by an assertion).
queryString - The query string (not analyzed yet,
this QueryElevationComponent.ElevationProvider is in charge of analyzing it).null if none.int size()
QueryElevationComponent.ElevationProvider.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.