public static enum DomainStatistics.MyCounter extends Enum<DomainStatistics.MyCounter>
Enum Constant and Description |
---|
EMPTY_RESULT |
FETCHED |
NOT_FETCHED |
Modifier and Type | Method and Description |
---|---|
static DomainStatistics.MyCounter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainStatistics.MyCounter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainStatistics.MyCounter FETCHED
public static final DomainStatistics.MyCounter NOT_FETCHED
public static final DomainStatistics.MyCounter EMPTY_RESULT
public static DomainStatistics.MyCounter[] values()
for (DomainStatistics.MyCounter c : DomainStatistics.MyCounter.values()) System.out.println(c);
public static DomainStatistics.MyCounter 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 nullCopyright © 2014 The Apache Software Foundation