Class Cell

java.lang.Object
org.egothor.stemmer.Cell

class Cell extends Object
A Cell is a portion of a trie.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    command of the cell
    (package private) int
    how many cmd-s was in subtrie before pack()
    (package private) int
    next row id in this way
    (package private) int
    how many chars would be discarded from input key in this way
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for the Cell object.
    Construct a Cell using the properties of the given Cell.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a String containing this Cell's attributes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • ref

      int ref
      next row id in this way
    • cmd

      int cmd
      command of the cell
    • cnt

      int cnt
      how many cmd-s was in subtrie before pack()
    • skip

      int skip
      how many chars would be discarded from input key in this way
  • Constructor Details

    • Cell

      Cell()
      Constructor for the Cell object.
    • Cell

      Cell(Cell a)
      Construct a Cell using the properties of the given Cell.
      Parameters:
      a - the Cell whose properties will be used
  • Method Details

    • toString

      public String toString()
      Return a String containing this Cell's attributes.
      Overrides:
      toString in class Object
      Returns:
      a String representation of this Cell