Class AhoCorasickDoubleArrayTrie.Hit<V>

java.lang.Object
com.hankcs.algorithm.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 Summary

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

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

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

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

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

    • Hit

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