Class AhoCorasickDoubleArrayTrie.Hit<V>

  • Type Parameters:
    V - the value type
    Enclosing class:
    AhoCorasickDoubleArrayTrie<V>

    public static class AhoCorasickDoubleArrayTrie.Hit<V>
    extends java.lang.Object
    A result output
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int begin
      the beginning index, inclusive.
      int end
      the ending index, exclusive.
      V value
      the value assigned to the keyword
    • Constructor Summary

      Constructors 
      Constructor Description
      Hit​(int begin, int end, V value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • begin

        public final int begin
        the beginning index, inclusive.
      • end

        public final int end
        the ending index, exclusive.
      • value

        public final V value
        the value assigned to the keyword
    • Constructor Detail

      • Hit

        public Hit​(int begin,
                   int end,
                   V value)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object