de.dfki.mycbr.core.similarity.config
Enum TaxonomyConfig
java.lang.Object
java.lang.Enum<TaxonomyConfig>
de.dfki.mycbr.core.similarity.config.TaxonomyConfig
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TaxonomyConfig>
public enum TaxonomyConfig
- extends java.lang.Enum<TaxonomyConfig>
Enumerates the configuration for the semantics of inner nodes
as query or case values.
- Author:
- myCBR Team
|
Method Summary |
static TaxonomyConfig |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TaxonomyConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INNER_NODES_ANY
public static final TaxonomyConfig INNER_NODES_ANY
INNER_NODES_PESSIMISTIC
public static final TaxonomyConfig INNER_NODES_PESSIMISTIC
INNER_NODES_OPTIMISTIC
public static final TaxonomyConfig INNER_NODES_OPTIMISTIC
INNER_NODES_AVERAGE
public static final TaxonomyConfig INNER_NODES_AVERAGE
NO_INNERNODES
public static final TaxonomyConfig NO_INNERNODES
values
public static TaxonomyConfig[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TaxonomyConfig c : TaxonomyConfig.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TaxonomyConfig valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null