public enum Semantics extends Enum<Semantics>
Enum Constant and Description |
---|
COUNTER |
DISCRETE |
INSTANT |
NO_SEMANTICS |
Modifier and Type | Method and Description |
---|---|
int |
getPcpValue() |
static Semantics |
valueOf(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(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 int getPcpValue()
Copyright © 2009-2019 Performance Co-Pilot. All Rights Reserved.