public enum KernelType extends java.lang.Enum<KernelType>
Enum Constant and Description |
---|
BIWEIGHT |
COSINE |
EPANECHNIKOV |
GAUSSIAN |
TRIANGLE |
TRIWEIGHT |
UNIFORM |
Modifier and Type | Method and Description |
---|---|
static KernelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KernelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KernelType UNIFORM
public static final KernelType TRIANGLE
public static final KernelType EPANECHNIKOV
public static final KernelType BIWEIGHT
public static final KernelType TRIWEIGHT
public static final KernelType GAUSSIAN
public static final KernelType COSINE
public static KernelType[] values()
for (KernelType c : KernelType.values()) System.out.println(c);
public static KernelType 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