Object Gender.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Gender fromString(String gender) Returns the corresponding gender in this enum given a string resembling it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.