public static enum Face.Gender extends Enum<Face.Gender>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Face.Gender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Face.Gender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Face.Gender Female
public static final Face.Gender Male
public static final Face.Gender Unknown
public static Face.Gender[] values()
for (Face.Gender c : Face.Gender.values()) System.out.println(c);
public static Face.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 String toString()
toString
in class Enum<Face.Gender>
Copyright © 2015. All rights reserved.