public enum HaircolorType extends Enum<HaircolorType>
| Enum Constant and Description |
|---|
BLOND |
BRAUN |
GLATZE |
OTHER |
ROT |
SCHWARZ |
| Modifier and Type | Method and Description |
|---|---|
static HaircolorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HaircolorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HaircolorType BLOND
public static final HaircolorType BRAUN
public static final HaircolorType SCHWARZ
public static final HaircolorType ROT
public static final HaircolorType GLATZE
public static final HaircolorType OTHER
public static HaircolorType[] values()
for (HaircolorType c : HaircolorType.values()) System.out.println(c);
public static HaircolorType 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 nullCopyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.