public enum SynonymCode extends Enum<SynonymCode>
| Enum Constant and Description |
|---|
NOT_SYNONYM |
SYNONYM |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static SynonymCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynonymCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynonymCode SYNONYM
public static final SynonymCode NOT_SYNONYM
public static SynonymCode[] values()
for (SynonymCode c : SynonymCode.values()) System.out.println(c);
public static SynonymCode 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 getCode()
Copyright © 2012–2016 Emory University. All rights reserved.