Public Member Functions | |
int | getIndex (String name) throws IllegalArgumentException |
Given the enum string, return its index value. | |
String | getName (int index) throws ArrayIndexOutOfBoundsException |
Given an index value, return the name. | |
String | getUnits (int index) throws ArrayIndexOutOfBoundsException |
Return the units of the count. | |
String | getDescription (int index) throws ArrayIndexOutOfBoundsException |
Return a short description of the counter. | |
String[] | getNames () |
Return all counter names. |
See the example in ExampleClassWithStatistics below for how to do this.