public enum EntryUnit extends java.lang.Enum<EntryUnit> implements ResourceUnit
ResourceUnit
that designates a count by entries.Enum Constant and Description |
---|
ENTRIES
The only possible value of
EntryUnit |
Modifier and Type | Method and Description |
---|---|
static EntryUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntryUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static EntryUnit[] values()
for (EntryUnit c : EntryUnit.values()) System.out.println(c);
public static EntryUnit 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 null