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

## org.basex.index
Class RangeToken

    java.lang.Object
      org.basex.index.IndexToken
          org.basex.index.RangeToken

    public final class RangeToken

extends IndexToken

This class defines access to index text tokens.

Author:
  Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen

Nested Class Summary

Nested classes/interfaces inherited from class org.basex.index.IndexToken
`IndexToken.Type`

Field Summary
`double` | `max` Maximum value.
`double` | `min` Minimum value.

Fields inherited from class org.basex.index.IndexToken
`text, type`

Constructor Summary
`RangeToken(boolean t, double mn, double mx)` Constructor.

Method Summary
`boolean` | `range()` Returns the range flag.

Methods inherited from class org.basex.index.IndexToken
`get`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### min

    public double min

  Minimum value.

### max

    public double max

  Maximum value.

Constructor Detail

### RangeToken

    public RangeToken(boolean t,
                      double mn,
                      double mx)

  Constructor.

  Parameters:
    `t` - index type
    `mn` - minimum value
    `mx` - maximum value

Method Detail

### range

    public boolean range()

  Description copied from class: `IndexToken`
  Returns the range flag. Can be overwritten by an implementation to support range searches.

  Overrides:
    `range` in class `IndexToken`
  Returns:
    token

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