public enum Ethnos extends Enum<Ethnos>
| Enum Constant and Description |
|---|
AFRO_AMERICAN |
ASIAN |
CAUCASIAN |
LATIN_AMERICAN |
NORTH_EAST_ASIAN |
OTHER_MIXED |
SOUTH_EAST_ASIAN |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Ethnos |
fromInt(int integerValue) |
int |
toInt() |
static Ethnos |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ethnos[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ethnos UNKNOWN
public static final Ethnos CAUCASIAN
public static final Ethnos AFRO_AMERICAN
public static final Ethnos LATIN_AMERICAN
public static final Ethnos ASIAN
public static final Ethnos SOUTH_EAST_ASIAN
public static final Ethnos NORTH_EAST_ASIAN
public static final Ethnos OTHER_MIXED
public static Ethnos[] values()
for (Ethnos c : Ethnos.values()) System.out.println(c);
public static Ethnos 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 int toInt()
public static Ethnos fromInt(int integerValue)
Copyright © 2021. All rights reserved.