de.aitools.dm.clusterlabeling.validation
Enum StringMatching.Match
java.lang.Object
java.lang.Enum<StringMatching.Match>
de.aitools.dm.clusterlabeling.validation.StringMatching.Match
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StringMatching.Match>
- Enclosing class:
- StringMatching
public static enum StringMatching.Match
- extends java.lang.Enum<StringMatching.Match>
For a given cluster with predefined label S,
calculated label L and (if used) synonyms SL of L:
-
Exact Match: L is an exact match of S, if L
or any synonym SL is equal to S
-
Partial Match: L is an partial match of S, if L
or any synonym SL shares a space-separated term with S
- Author:
- johannes.kiesel(/\t)uni-weimar.de
Method Summary |
static StringMatching.Match |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StringMatching.Match[] |
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 |
EXACT
public static final StringMatching.Match EXACT
PARTIAL
public static final StringMatching.Match PARTIAL
values
public static StringMatching.Match[] 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 (StringMatching.Match c : StringMatching.Match.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StringMatching.Match 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