org.gridkit.lab.jvm.perfdata
Enum JStatData.Units

java.lang.Object
  extended by java.lang.Enum<JStatData.Units>
      extended by org.gridkit.lab.jvm.perfdata.JStatData.Units
All Implemented Interfaces:
Serializable, Comparable<JStatData.Units>
Enclosing class:
JStatData

public static enum JStatData.Units
extends Enum<JStatData.Units>


Enum Constant Summary
BYTES
           
EVENTS
           
HERTZ
           
INVALID
           
NONE
           
STRING
           
TICKS
           
 
Method Summary
static JStatData.Units valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JStatData.Units[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID

public static final JStatData.Units INVALID

NONE

public static final JStatData.Units NONE

BYTES

public static final JStatData.Units BYTES

TICKS

public static final JStatData.Units TICKS

EVENTS

public static final JStatData.Units EVENTS

STRING

public static final JStatData.Units STRING

HERTZ

public static final JStatData.Units HERTZ
Method Detail

values

public static JStatData.Units[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JStatData.Units c : JStatData.Units.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JStatData.Units valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2018. All Rights Reserved.