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