public enum SimilarityDistanceMetricType extends java.lang.Enum<SimilarityDistanceMetricType>
| Enum Constant and Description |
|---|
Distance |
Similarity |
| Modifier and Type | Method and Description |
|---|---|
static SimilarityDistanceMetricType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimilarityDistanceMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimilarityDistanceMetricType Similarity
public static final SimilarityDistanceMetricType Distance
public static SimilarityDistanceMetricType[] values()
for (SimilarityDistanceMetricType c : SimilarityDistanceMetricType.values()) System.out.println(c);
public static SimilarityDistanceMetricType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null