public class Gender extends Object implements Comparable<Gender>
Voice
Modifier and Type | Field and Description |
---|---|
static Gender |
DONT_CARE
Match against all other genders.
|
static Gender |
FEMALE
Female.
|
static Gender |
MALE
Male.
|
private String |
name |
static Gender |
NEUTRAL
Neutral such as a robot or artificial.
|
private static int |
nextOrdinal |
private int |
ordinal |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Gender gender)
Compare two genders.
|
String |
toString()
Generates a human readable name describing the gender.
|
private static int nextOrdinal
private final int ordinal
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses