-
- All Implemented Interfaces:
public class Gender.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static Gender.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final GenderfromString(String gender)Returns the corresponding gender in this enum given a string resembling it. -
-
Method Detail
-
fromString
final Gender fromString(String gender)
Returns the corresponding gender in this enum given a string resembling it.
- Parameters:
gender-the gender as a string.
-
-
-
-