public enum PerformanceManagerUnit extends Enum<PerformanceManagerUnit>
Java class for PerformanceManagerUnit.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PerformanceManagerUnit">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="percent"/>
<enumeration value="kiloBytes"/>
<enumeration value="megaBytes"/>
<enumeration value="megaHertz"/>
<enumeration value="number"/>
<enumeration value="microsecond"/>
<enumeration value="millisecond"/>
<enumeration value="second"/>
<enumeration value="kiloBytesPerSecond"/>
<enumeration value="megaBytesPerSecond"/>
<enumeration value="watt"/>
<enumeration value="joule"/>
<enumeration value="teraBytes"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
JOULE |
KILO_BYTES |
KILO_BYTES_PER_SECOND |
MEGA_BYTES |
MEGA_BYTES_PER_SECOND |
MEGA_HERTZ |
MICROSECOND |
MILLISECOND |
NUMBER |
PERCENT |
SECOND |
TERA_BYTES |
WATT |
| Modifier and Type | Method and Description |
|---|---|
static PerformanceManagerUnit |
fromValue(String v) |
String |
value() |
static PerformanceManagerUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PerformanceManagerUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PerformanceManagerUnit PERCENT
public static final PerformanceManagerUnit KILO_BYTES
public static final PerformanceManagerUnit MEGA_BYTES
public static final PerformanceManagerUnit MEGA_HERTZ
public static final PerformanceManagerUnit NUMBER
public static final PerformanceManagerUnit MICROSECOND
public static final PerformanceManagerUnit MILLISECOND
public static final PerformanceManagerUnit SECOND
public static final PerformanceManagerUnit KILO_BYTES_PER_SECOND
public static final PerformanceManagerUnit MEGA_BYTES_PER_SECOND
public static final PerformanceManagerUnit WATT
public static final PerformanceManagerUnit JOULE
public static final PerformanceManagerUnit TERA_BYTES
public static PerformanceManagerUnit[] values()
for (PerformanceManagerUnit c : PerformanceManagerUnit.values()) System.out.println(c);
public static PerformanceManagerUnit 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 String value()
public static PerformanceManagerUnit fromValue(String v)
Copyright © 2018. All rights reserved.