public enum TraceColor extends Enum<TraceColor>
| Enum Constant and Description |
|---|
BLUE |
CYAN |
GREEN |
PURPLE |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Note that this method is not static.
|
static TraceColor |
getType(String type)
For each config type it checks if type matches one of
kinds.
|
static TraceColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraceColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceColor RED
public static final TraceColor YELLOW
public static final TraceColor GREEN
public static final TraceColor CYAN
public static final TraceColor WHITE
public static final TraceColor BLUE
public static final TraceColor PURPLE
public static TraceColor[] values()
for (TraceColor c : TraceColor.values()) System.out.println(c);
public static TraceColor 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 static TraceColor getType(String type)
type - String representation or kind of Configpublic String getName()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.