Class FTPos

java.lang.Object
org.basex.query.util.ft.FTPos

public final class FTPos extends Object
This class contains full-text positions for a single database node.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Method Details

    • contains

      public boolean contains(int pos)
      Checks if the specified position is found.
      Parameters:
      pos - position to be found
      Returns:
      result of check
    • size

      public int size()
      Returns the number of positions.
      Returns:
      number of positions
    • toString

      public String toString()
      Overrides:
      toString in class Object