Modifier and Type | Method and Description |
---|---|
Gender[] |
GenderBean.getGenders()
Returns the array of genders.
|
Constructor and Description |
---|
GenderAges(Gender gender,
Double age) |
Modifier and Type | Method and Description |
---|---|
double |
GenderDataBean.averageAge(Gender gender)
Returns the average age of people of the specified gender.
|
int |
GenderDataBean.countGender(Gender gender)
Returns the number of people of the specified gender.
|
Modifier and Type | Method and Description |
---|---|
static Gender |
Gender.getEnum(String startsWith)
Returns the Gender that starts with the parameter.
|
Gender |
Person.getGender()
Returns the gender of this person.
|
static Gender |
Gender.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gender[] |
Gender.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Person.setGender(Gender gender)
Sets the gender of this person.
|
Copyright © 2015 Joseph Hendrix