Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Qizx/open 4.1 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Methods inherited from interface com.qizx.api.Indexing.Sieve
`getParameters, setParameters`

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| © 2010 Axyana Software
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD