public static enum Quickstart.Color extends Enum<Quickstart.Color>
| Modifier and Type | Method and Description |
|---|---|
static Quickstart.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quickstart.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quickstart.Color RESET
public static final Quickstart.Color GREEN
public static final Quickstart.Color YELLOW
public static final Quickstart.Color CYAN
public static Quickstart.Color[] values()
for (Quickstart.Color c : Quickstart.Color.values()) System.out.println(c);
public static Quickstart.Color 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 © 2018–2020 Apache Software Foundation. All rights reserved.