Deprecated
This API is ICU internal only.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static enum | GenderInfo.Gender
Deprecated
This API is ICU internal only.
Gender: OTHER means either the information is unavailable, or the person has declined to state MALE or FEMALE.
|
| public static enum | GenderInfo.ListGenderStyle
Deprecated
This API is ICU internal only.
Enum only meant for use in CLDR and in testing.
|
| Modifier and Type | Field and Description |
|---|---|
| private static GenderInfo. | |
| private static GenderInfo | neutral
Deprecated
as a consequence of
GenderInfo being deprecated.
|
| private final GenderInfo. | style
Deprecated
as a consequence of
GenderInfo.ListGenderStyle being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | GenderInfo(GenderInfo.
gender style genderStyle
Deprecated
This API is ICU internal only.
Only for testing and use with CLDR.
|
| Modifier and Type | Method and Description |
|---|---|
| public static GenderInfo | getInstance(ULocale
desired locale uLocale)
Deprecated
This API is ICU internal only.
Create GenderInfo from a ULocale.
|
| public static GenderInfo | getInstance(Locale
desired locale locale)
Deprecated
This API is ICU internal only.
Create GenderInfo from a Locale.
|
| public GenderInfo. | Returns: the gender of the list.a list of genders. genders
Deprecated
This API is ICU internal only.
Get the gender of a list, based on locale usage.
|
| public GenderInfo. | Returns: the gender of the list.a list of genders. genders
Deprecated
This API is ICU internal only.
Get the gender of a list, based on locale usage.
|
| genderInfoCache | back to summary |
|---|---|
| private static GenderInfo. | |
| neutral | back to summary |
|---|---|
| private static GenderInfo neutral
Deprecated as a consequence of | |
| style | back to summary |
|---|---|
| private final GenderInfo. Deprecated as a consequence of | |
| GenderInfo | back to summary |
|---|---|
| public GenderInfo(GenderInfo. Deprecated This API is ICU internal only. Only for testing and use with CLDR.
| |
| getInstance | back to summary |
|---|---|
| public static GenderInfo getInstance(ULocale uLocale)
Deprecated This API is ICU internal only. Create GenderInfo from a ULocale. | |
| getInstance | back to summary |
|---|---|
| public static GenderInfo getInstance(Locale locale)
Deprecated This API is ICU internal only. Create GenderInfo from a Locale. | |
| getListGender | back to summary |
|---|---|
| public GenderInfo. Deprecated This API is ICU internal only. Get the gender of a list, based on locale usage.
| |
| getListGender | back to summary |
|---|---|
| public GenderInfo. Deprecated This API is ICU internal only. Get the gender of a list, based on locale usage.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ICUCache |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public GenderInfo | |
| private static GenderInfo |
| cache | back to summary |
|---|---|
| private final ICUCache<ULocale, GenderInfo> cache | |
| Cache | back to summary |
|---|---|
| private Cache() | |
| get | back to summary |
|---|---|
| public GenderInfo get(ULocale locale)
Deprecated as a consequence of | |
| load | back to summary |
|---|---|
| private static GenderInfo load(ULocale ulocale)
Deprecated as a consequence of | |
Deprecated
This API is ICU internal only.
| Modifier and Type | Field and Description |
|---|---|
| public static final GenderInfo. | FEMALE
Deprecated
This API is ICU internal only.
|
| public static final GenderInfo. | MALE
Deprecated
This API is ICU internal only.
|
| public static final GenderInfo. | OTHER
Deprecated
This API is ICU internal only.
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GenderInfo. | |
| public static GenderInfo. |
| FEMALE | back to summary |
|---|---|
| public static final GenderInfo. Deprecated This API is ICU internal only.
| |
| MALE | back to summary |
|---|---|
| public static final GenderInfo. Deprecated This API is ICU internal only.
| |
| OTHER | back to summary |
|---|---|
| public static final GenderInfo. Deprecated This API is ICU internal only.
| |
| Gender | back to summary |
|---|---|
| private Gender() | |
| valueOf | back to summary |
|---|---|
| public static GenderInfo. Deprecated as a consequence of | |
| values | back to summary |
|---|---|
| public static GenderInfo. Deprecated as a consequence of | |
Deprecated
This API is ICU internal only.
| Modifier and Type | Field and Description |
|---|---|
| private static Map | |
| public static final GenderInfo. | MALE_TAINTS
For an empty list, returns OTHER; For a single item, returns its gender; Otherwise, gender(all female) = female, otherwise gender(list) = male. |
| public static final GenderInfo. | MIXED_NEUTRAL
For an empty list, returns OTHER; For a single item, returns its gender; Otherwise gender(all male) = male, gender(all female) = female, otherwise gender(list) = other. |
| public static final GenderInfo. | NEUTRAL
For an empty list, returns OTHER; For a single item, returns its gender; Otherwise always OTHER. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GenderInfo. | |
| public static GenderInfo. | |
| public static GenderInfo. |
| fromNameMap | back to summary |
|---|---|
| private static Map<String, GenderInfo. | |
| MALE_TAINTS | back to summary |
|---|---|
| public static final GenderInfo. Deprecated This API is ICU internal only. For an empty list, returns OTHER; For a single item, returns its gender; Otherwise, gender(all female) = female, otherwise gender(list) = male. So for more than one item, any 'other' value makes the overall gender be 'male'.
| |
| MIXED_NEUTRAL | back to summary |
|---|---|
| public static final GenderInfo. Deprecated This API is ICU internal only. For an empty list, returns OTHER; For a single item, returns its gender; Otherwise gender(all male) = male, gender(all female) = female, otherwise gender(list) = other. So any 'other' value makes the overall gender be 'other'.
| |
| NEUTRAL | back to summary |
|---|---|
| public static final GenderInfo. Deprecated This API is ICU internal only. For an empty list, returns OTHER; For a single item, returns its gender; Otherwise always OTHER.
| |
| ListGenderStyle | back to summary |
|---|---|
| private ListGenderStyle() | |
| fromName | back to summary |
|---|---|
| public static GenderInfo. Deprecated This API is ICU internal only.
| |
| valueOf | back to summary |
|---|---|
| public static GenderInfo. Deprecated as a consequence of | |
| values | back to summary |
|---|---|
| public static GenderInfo. Deprecated as a consequence of | |