Enum Fitzpatrick

    • Enum Constant Detail

      • TYPE_1_2

        public static final Fitzpatrick TYPE_1_2
        Fitzpatrick modifier of type 1/2 (pale white/white)
      • TYPE_3

        public static final Fitzpatrick TYPE_3
        Fitzpatrick modifier of type 3 (cream white)
      • TYPE_4

        public static final Fitzpatrick TYPE_4
        Fitzpatrick modifier of type 4 (moderate brown)
      • TYPE_5

        public static final Fitzpatrick TYPE_5
        Fitzpatrick modifier of type 5 (dark brown)
      • TYPE_6

        public static final Fitzpatrick TYPE_6
        Fitzpatrick modifier of type 6 (black)
    • Field Detail

      • unicode

        public final String unicode
        The unicode representation of the Fitzpatrick modifier
    • Method Detail

      • values

        public static Fitzpatrick[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Fitzpatrick c : Fitzpatrick.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Fitzpatrick valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fitzpatrickFromUnicode

        public static Fitzpatrick fitzpatrickFromUnicode​(String unicode)
      • fitzpatrickFromType

        public static Fitzpatrick fitzpatrickFromType​(String type)