public enum LanguageDeclensionFactory extends Enum<LanguageDeclensionFactory>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static LanguageDeclensionFactory |
get() |
LanguageDeclension |
getDeclension(HumanLanguage language) |
static LanguageDeclensionFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageDeclensionFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageDeclensionFactory INSTANCE
public static LanguageDeclensionFactory[] values()
for (LanguageDeclensionFactory c : LanguageDeclensionFactory.values()) System.out.println(c);
public static LanguageDeclensionFactory 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 static LanguageDeclensionFactory get()
public LanguageDeclension getDeclension(HumanLanguage language)
language - the given languageCopyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.