public enum Article extends Enum<Article>
| Enum Constant and Description |
|---|
Definite
Enumeration : Definite
|
Indefinite
Enumeration : Indefinite
|
None
Enumeration : None
|
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
valuesToEnums |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Article |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Article[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Article None
public static final Article Indefinite
public static final Article Definite
public static Article[] values()
for (Article c : Article.values()) System.out.println(c);
public static Article 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 © 2015. All Rights Reserved.