public static enum SocialProfile.Sex extends Enum<SocialProfile.Sex>
Modifier and Type | Method and Description |
---|---|
static SocialProfile.Sex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocialProfile.Sex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocialProfile.Sex Male
public static final SocialProfile.Sex Female
public static SocialProfile.Sex[] values()
for (SocialProfile.Sex c : SocialProfile.Sex.values()) System.out.println(c);
public static SocialProfile.Sex 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 nullLumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.