public static enum Normalizer.Norm extends java.lang.Enum<Normalizer.Norm>
Enum Constant and Description |
---|
Inf
L-infinity vector norm.
|
L1
L1 vector norm.
|
L2
L2 vector norm.
|
Modifier and Type | Method and Description |
---|---|
static Normalizer.Norm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Normalizer.Norm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Normalizer.Norm L1
public static final Normalizer.Norm L2
public static final Normalizer.Norm Inf
public static Normalizer.Norm[] values()
for (Normalizer.Norm c : Normalizer.Norm.values()) System.out.println(c);
public static Normalizer.Norm 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