private static enum LRUCache.EntryState extends java.lang.Enum<LRUCache.EntryState>
| Enum Constant and Description |
|---|
ENTRY_INITIAL |
ENTRY_READING |
ENTRY_READY |
ENTRY_WRITING |
| Modifier and Type | Method and Description |
|---|---|
static LRUCache.EntryState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LRUCache.EntryState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LRUCache.EntryState ENTRY_INITIAL
public static final LRUCache.EntryState ENTRY_READING
public static final LRUCache.EntryState ENTRY_WRITING
public static final LRUCache.EntryState ENTRY_READY
public static LRUCache.EntryState[] values()
for (LRUCache.EntryState c : LRUCache.EntryState.values()) System.out.println(c);
public static LRUCache.EntryState 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