Class AhoCorasickDoubleArrayTrie.Hit<V>

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

    public static class AhoCorasickDoubleArrayTrie.Hit<V>
    extends Object
    A result output
    • 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)