Enum Class FuzzySearch.WeightType

java.lang.Object
java.lang.Enum<FuzzySearch.WeightType>
com.nefrock.edgeocr.FuzzySearch.WeightType
All Implemented Interfaces:
Serializable, Comparable<FuzzySearch.WeightType>, Constable
Enclosing class:
FuzzySearch

public static enum FuzzySearch.WeightType extends Enum<FuzzySearch.WeightType>
重みの種類を定義する列挙型。 距離の計算に使用する重み付けの種類を選択するために使用します。 例: 重みなし(DISABLED)、デフォルト(DEFAULT)、Neural Network距離(NN_DISTANCE)。
  • Enum Constant Details

  • Method Details

    • values

      public static FuzzySearch.WeightType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FuzzySearch.WeightType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toStr

      public String toStr()
      重みタイプの文字列表現を返します。
      Returns:
      重みタイプを表す文字列