public enum Statistics extends Enum<Statistics>
Enum Constant and Description |
---|
AVERAGE |
MAXIMUM |
MINIMUM |
SAMPLE_COUNT |
SUM |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Statistics |
fromValue(String value) |
String |
toString() |
String |
value() |
static Statistics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Statistics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Statistics AVERAGE
public static final Statistics SUM
public static final Statistics SAMPLE_COUNT
public static final Statistics MAXIMUM
public static final Statistics MINIMUM
public static final Statistics UNRECOGNIZED
public static Statistics[] values()
for (Statistics c : Statistics.values()) System.out.println(c);
public static Statistics 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 String toString()
toString
in class Enum<Statistics>
public static Statistics fromValue(String value)
Copyright © 2009-2012 jclouds. All Rights Reserved.