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

All Implemented Interfaces:
  IndexToken

    public final class RangeToken

extends Object
implements IndexToken

This class defines access to index text tokens.

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

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

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

Method Summary
`byte[]` | `get()` Returns the current token.
`Data.Type` | `type()` Returns the index type.

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

### type

    public Data.Type type()

  Description copied from interface: `IndexToken`
  Returns the index type.

  Specified by:
    `type` in interface `IndexToken`
  Returns:
    type

### get

    public byte[] get()

  Description copied from interface: `IndexToken`
  Returns the current token.

  Specified by:
    `get` in interface `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