public enum SampleType extends java.lang.Enum<SampleType>
Enum Constant and Description |
---|
CPU |
MEMORY |
NATIVE_AVG_DRAWTIME |
NATIVE_FPS |
NATIVE_FRAMES |
NATIVE_MAX_DRAWTIME |
NATIVE_MIN_DRAWTIME |
OPENGL_AVG_DRAWTIME |
OPENGL_FPS |
OPENGL_FRAMES |
OPENGL_MAX_DRAWTIME |
OPENGL_MIN_DRAWTIME |
RX |
RX_RATE |
THREADS |
TX |
TX_RATE |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static SampleType |
fromValue(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static SampleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SampleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleType CPU
public static final SampleType MEMORY
public static final SampleType THREADS
public static final SampleType RX_RATE
public static final SampleType TX_RATE
public static final SampleType RX
public static final SampleType TX
public static final SampleType NATIVE_FRAMES
public static final SampleType NATIVE_FPS
public static final SampleType NATIVE_MIN_DRAWTIME
public static final SampleType NATIVE_AVG_DRAWTIME
public static final SampleType NATIVE_MAX_DRAWTIME
public static final SampleType OPENGL_FRAMES
public static final SampleType OPENGL_FPS
public static final SampleType OPENGL_MIN_DRAWTIME
public static final SampleType OPENGL_AVG_DRAWTIME
public static final SampleType OPENGL_MAX_DRAWTIME
public static SampleType[] values()
for (SampleType c : SampleType.values()) System.out.println(c);
public static SampleType 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 java.lang.String toString()
toString
in class java.lang.Enum<SampleType>
public static SampleType fromValue(java.lang.String value)
value
- real value