public enum CompareFunction extends Enum<CompareFunction> implements StringValue<CompareFunction>
| Enum Constant and Description |
|---|
ABS_DIFF |
DELTA |
EQUAL |
GAUSS_SIM |
TABLE |
| Modifier and Type | Method and Description |
|---|---|
static CompareFunction |
fromValue(String v) |
String |
toString() |
String |
value() |
static CompareFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompareFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareFunction ABS_DIFF
public static final CompareFunction GAUSS_SIM
public static final CompareFunction DELTA
public static final CompareFunction EQUAL
public static final CompareFunction TABLE
public static CompareFunction[] values()
for (CompareFunction c : CompareFunction.values()) System.out.println(c);
public static CompareFunction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
value in interface StringValue<CompareFunction>public static CompareFunction fromValue(String v)
public String toString()
toString in class Enum<CompareFunction>Copyright © 2022. All rights reserved.