public enum Fitzpatrick extends Enum<Fitzpatrick>
| Enum Constant and Description |
|---|
DARK_SKIN
Represents the dark skin tone modifier in the Fitzpatrick scale.
|
LIGHT_SKIN
Represents the light skin tone modifier in the Fitzpatrick scale.
|
MEDIUM_DARK_SKIN
Represents the medium dark skin tone modifier in the Fitzpatrick scale.
|
MEDIUM_LIGHT_SKIN
Represents the medium light skin tone modifier in the Fitzpatrick scale.
|
MEDIUM_SKIN
Represents the medium skin tone modifier in the Fitzpatrick scale.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUnicode()
Gets the Unicode of the fitzpatrick modifier.
|
static boolean |
isFitzpatrickEmoji(String unicode)
Check if the given emoji contains a fitzpatrick modifier.
|
static String |
removeFitzpatrick(String unicode)
Removes the fitzpatrick modifier from the given emoji.
|
static Fitzpatrick |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fitzpatrick[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Fitzpatrick LIGHT_SKIN
public static final Fitzpatrick MEDIUM_LIGHT_SKIN
public static final Fitzpatrick MEDIUM_SKIN
public static final Fitzpatrick MEDIUM_DARK_SKIN
public static final Fitzpatrick DARK_SKIN
public static Fitzpatrick[] values()
for (Fitzpatrick c : Fitzpatrick.values()) System.out.println(c);
public static Fitzpatrick valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getUnicode()
public static boolean isFitzpatrickEmoji(String unicode)
unicode - The Unicode of the emoji.