public static enum Currency.Unit.Gender extends Enum<Currency.Unit.Gender>
| Enum Constant and Description |
|---|
feminine
Женский род
|
masculine
Мужской род
|
| Modifier and Type | Method and Description |
|---|---|
static Currency.Unit.Gender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Currency.Unit.Gender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Currency.Unit.Gender masculine
public static final Currency.Unit.Gender feminine
public static Currency.Unit.Gender[] values()
for (Currency.Unit.Gender c : Currency.Unit.Gender.values()) System.out.println(c);
public static Currency.Unit.Gender 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 © 2021. All rights reserved.