public static enum WordCorpus.AvailableLanguage extends Enum<WordCorpus.AvailableLanguage>
Modifier and Type | Method and Description |
---|---|
static WordCorpus.AvailableLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WordCorpus.AvailableLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WordCorpus.AvailableLanguage en
public static final WordCorpus.AvailableLanguage en_basic
public static WordCorpus.AvailableLanguage[] values()
for (WordCorpus.AvailableLanguage c : WordCorpus.AvailableLanguage.values()) System.out.println(c);
public static WordCorpus.AvailableLanguage 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 © 2011-2014. All Rights Reserved.