public static enum GenderInfo.ListGenderStyle extends java.lang.Enum<GenderInfo.ListGenderStyle>
| Enum Constant and Description |
|---|
MALE_TAINTS
gender(all female) = female, otherwise gender(list) = male.
|
MIXED_NEUTRAL
gender(all male) = male, gender(all female) = female, otherwise gender(list) = other.
|
NEUTRAL
Always OTHER (if more than one)
|
| Modifier and Type | Method and Description |
|---|---|
static GenderInfo.ListGenderStyle |
fromName(java.lang.String name) |
static GenderInfo.ListGenderStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenderInfo.ListGenderStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenderInfo.ListGenderStyle NEUTRAL
public static final GenderInfo.ListGenderStyle MIXED_NEUTRAL
public static final GenderInfo.ListGenderStyle MALE_TAINTS
public static GenderInfo.ListGenderStyle[] values()
for (GenderInfo.ListGenderStyle c : GenderInfo.ListGenderStyle.values()) System.out.println(c);
public static GenderInfo.ListGenderStyle 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 namejava.lang.NullPointerException - if the argument is nullpublic static GenderInfo.ListGenderStyle fromName(java.lang.String name)
Copyright (c) 2012 IBM Corporation and others.