public enum FeatureDistanceNorm extends Enum<FeatureDistanceNorm>
Modifier and Type | Method and Description |
---|---|
static FeatureDistanceNorm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureDistanceNorm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureDistanceNorm L1
public static final FeatureDistanceNorm L2
public static final FeatureDistanceNorm Linf
public static FeatureDistanceNorm[] values()
for (FeatureDistanceNorm c : FeatureDistanceNorm.values()) System.out.println(c);
public static FeatureDistanceNorm 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 nullCopyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)