org.basex.data
Class FTPos

java.lang.Object
  extended by org.basex.data.FTPos

public final class FTPos
extends Object

This class contains full-text positions. For each position, a pointer is stored.

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

Field Summary
 int[] pos
          Positions.
 
Method Summary
 boolean contains(int p)
          Checks if the specified position is found.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pos

public int[] pos
Positions.

Method Detail

contains

public boolean contains(int p)
Checks if the specified position is found.

Parameters:
p - position to be found
Returns:
result of check

toString

public String toString()
Overrides:
toString in class Object