public static enum ClusteringModel.ModelClass extends Enum<ClusteringModel.ModelClass> implements StringValue<ClusteringModel.ModelClass>
| Enum Constant and Description |
|---|
CENTER_BASED |
DISTRIBUTION_BASED |
| Modifier and Type | Method and Description |
|---|---|
static ClusteringModel.ModelClass |
fromValue(String v) |
String |
toString() |
String |
value() |
static ClusteringModel.ModelClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusteringModel.ModelClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusteringModel.ModelClass CENTER_BASED
public static final ClusteringModel.ModelClass DISTRIBUTION_BASED
public static ClusteringModel.ModelClass[] values()
for (ClusteringModel.ModelClass c : ClusteringModel.ModelClass.values()) System.out.println(c);
public static ClusteringModel.ModelClass 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 nullpublic String value()
value in interface StringValue<ClusteringModel.ModelClass>public static ClusteringModel.ModelClass fromValue(String v)
public String toString()
toString in class Enum<ClusteringModel.ModelClass>Copyright © 2024. All rights reserved.