public static enum DistanceMetric.SparcseMetricModes extends java.lang.Enum<DistanceMetric.SparcseMetricModes>
Enum Constant and Description |
---|
BOTH_NON_ZERO
Mode where both vector elements have to be non-zero.
|
FIRST_NON_ZERO
Mode where only the first vector element has to be non-zero.
|
SECOND_NON_ZERO
Mode where only the second vector element has to be non-zero.
|
Modifier and Type | Method and Description |
---|---|
static DistanceMetric.SparcseMetricModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceMetric.SparcseMetricModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceMetric.SparcseMetricModes BOTH_NON_ZERO
public static final DistanceMetric.SparcseMetricModes FIRST_NON_ZERO
public static final DistanceMetric.SparcseMetricModes SECOND_NON_ZERO
public static DistanceMetric.SparcseMetricModes[] values()
for (DistanceMetric.SparcseMetricModes c : DistanceMetric.SparcseMetricModes.values()) System.out.println(c);
public static DistanceMetric.SparcseMetricModes 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