public enum PersonRemark extends Enum<PersonRemark>
| Enum Constant and Description |
|---|
GENDER |
MAX_AGE |
MAX_GROWTH |
MAX_WEIGHT |
MIN_AGE |
MIN_GROWTH |
MIN_WEIGHT |
| Modifier and Type | Method and Description |
|---|---|
static PersonRemark |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonRemark[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonRemark MIN_AGE
public static final PersonRemark MAX_AGE
public static final PersonRemark GENDER
public static final PersonRemark MIN_WEIGHT
public static final PersonRemark MAX_WEIGHT
public static final PersonRemark MIN_GROWTH
public static final PersonRemark MAX_GROWTH
public static PersonRemark[] values()
for (PersonRemark c : PersonRemark.values()) System.out.println(c);
public static PersonRemark 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 © 2023. All rights reserved.