|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Gender>
ch.uzh.ifi.attempto.ape.Gender
public enum Gender
This enumeration lists the possible gender types for nouns and proper names.
| Enum Constant Summary | |
|---|---|
FEMININE
Feminine gender. |
|
HUMAN
Human gender. |
|
MASCULINE
Masculine gender. |
|
NEUTRAL
Neutral gender. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns the Prolog atom representation of the type of gender. |
static Gender |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Gender[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Gender NEUTRAL
public static final Gender HUMAN
public static final Gender MASCULINE
public static final Gender FEMININE
| Method Detail |
|---|
public static final Gender[] values()
for(Gender c : Gender.values())
System.out.println(c);
public static Gender valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<Gender>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||