com.qizx.api
Interface Indexing.NumberSieve
- All Superinterfaces:
- Indexing.Sieve
- All Known Subinterfaces:
- Indexing.DateSieve
- All Known Implementing Classes:
- FormatDateSieve, FormatNumberSieve, ISODateSieve
- Enclosing class:
- Indexing
public static interface Indexing.NumberSieve
- extends Indexing.Sieve
Pluggable analyzer/converter of numeric values, for custom indexing.
Method Summary |
double |
convert(String text)
Attempts to convert the text fragment to a double value. |
convert
double convert(String text)
- Attempts to convert the text fragment to a double value.
- Parameters:
text
- an alleged numeric value in text form.
- Returns:
- the converted value, or NaN if the conversion is not
possible. Should raise no exception