public enum Element extends Enum<Element>
Enum Constant and Description |
---|
COUNTERS |
LOWER_BOUND |
STRONG_COUNTER |
UNKNOWN |
UPPER_BOUND |
WEAK_COUNTER |
Modifier and Type | Method and Description |
---|---|
static Element |
forName(String localName) |
String |
toString() |
static Element |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Element[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Element UNKNOWN
public static final Element COUNTERS
public static final Element LOWER_BOUND
public static final Element STRONG_COUNTER
public static final Element UPPER_BOUND
public static final Element WEAK_COUNTER
public static Element[] values()
for (Element c : Element.values()) System.out.println(c);
public static Element 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 JBoss, a division of Red Hat. All rights reserved.