public static enum SRBuilder.Mode extends Enum<SRBuilder.Mode>
Enum Constant and Description |
---|
BOTH |
MOSTSIMILAR |
SIMILARITY |
Modifier and Type | Method and Description |
---|---|
static SRBuilder.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SRBuilder.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SRBuilder.Mode SIMILARITY
public static final SRBuilder.Mode MOSTSIMILAR
public static final SRBuilder.Mode BOTH
public static SRBuilder.Mode[] values()
for (SRBuilder.Mode c : SRBuilder.Mode.values()) System.out.println(c);
public static SRBuilder.Mode 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 © 2014. All rights reserved.