public static enum VoiceInfo.Gender extends Enum<VoiceInfo.Gender>
Enum Constant and Description |
---|
ANY |
FEMALE_ADULT |
FEMALE_CHILD |
FEMALE_ELDERLY |
MALE_ADULT |
MALE_CHILD |
MALE_ELDERLY |
Modifier and Type | Method and Description |
---|---|
static VoiceInfo.Gender |
of(String gender) |
String |
toString() |
static VoiceInfo.Gender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VoiceInfo.Gender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoiceInfo.Gender ANY
public static final VoiceInfo.Gender MALE_ADULT
public static final VoiceInfo.Gender MALE_CHILD
public static final VoiceInfo.Gender MALE_ELDERLY
public static final VoiceInfo.Gender FEMALE_CHILD
public static final VoiceInfo.Gender FEMALE_ADULT
public static final VoiceInfo.Gender FEMALE_ELDERLY
public static VoiceInfo.Gender[] values()
for (VoiceInfo.Gender c : VoiceInfo.Gender.values()) System.out.println(c);
public static VoiceInfo.Gender 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 static VoiceInfo.Gender of(String gender)
public String toString()
toString
in class Enum<VoiceInfo.Gender>
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.