Class Cell


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

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      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 Detail

      • 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 Detail

      • 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 Detail

      • toString

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