Enum Constant and Description |
---|
COUNTER |
DISCRETE |
INSTANT |
NO_SEMANTICS |
Modifier and Type | Field and Description |
---|---|
private int |
pcpValue |
Modifier and Type | Method and Description |
---|---|
int |
getPcpValue() |
static Semantics |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Semantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Semantics NO_SEMANTICS
public static final Semantics COUNTER
public static final Semantics INSTANT
public static final Semantics DISCRETE
public static Semantics[] values()
for (Semantics c : Semantics.values()) System.out.println(c);
public static Semantics valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getPcpValue()