public enum Cap extends Enum<Cap >
| Modifier and Type | Method and Description |
|---|---|
static Cap |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static Cap |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final CapBUTT
public static final CapROUND
public static final CapSQUARE
public static Cap[] values()
for (Cap c : Cap.values()) System.out.println(c);
public static CapvalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null