public static enum KMeansClusteringQuantizer.SamplingMethod extends Enum<KMeansClusteringQuantizer.SamplingMethod>
Enum Constant and Description |
---|
Most_Frequent |
Random |
Modifier and Type | Method and Description |
---|---|
static KMeansClusteringQuantizer.SamplingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KMeansClusteringQuantizer.SamplingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KMeansClusteringQuantizer.SamplingMethod Random
public static final KMeansClusteringQuantizer.SamplingMethod Most_Frequent
public static KMeansClusteringQuantizer.SamplingMethod[] values()
for (KMeansClusteringQuantizer.SamplingMethod c : KMeansClusteringQuantizer.SamplingMethod.values()) System.out.println(c);
public static KMeansClusteringQuantizer.SamplingMethod 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)