| Modifier and Type | Method and Description |
|---|---|
static Person.Gender |
Person.Gender.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Person.Gender[] |
Person.Gender.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Person(String name,
Person.Gender gender,
Integer age) |
Copyright © 2014. All rights reserved.