Class CharsTrie.State

  • Enclosing class:
    CharsTrie

    public static final class CharsTrie.State
    extends java.lang.Object
    CharsTrie state object, for saving a trie's current state and resetting the trie back to this state later.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.CharSequence chars  
      private int pos  
      private int remainingMatchLength  
      private int root  
    • Constructor Summary

      Constructors 
      Constructor Description
      State()
      Constructs an empty State.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • chars

        private java.lang.CharSequence chars
      • root

        private int root
      • pos

        private int pos
      • remainingMatchLength

        private int remainingMatchLength
    • Constructor Detail

      • State

        public State()
        Constructs an empty State.