public static enum SimplCache.EVICTION_TYPES extends Enum<SimplCache.EVICTION_TYPES>
| Enum Constant and Description |
|---|
LRU_EVICTION |
TIME_EVICTION |
| Modifier and Type | Method and Description |
|---|---|
static SimplCache.EVICTION_TYPES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimplCache.EVICTION_TYPES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimplCache.EVICTION_TYPES TIME_EVICTION
public static final SimplCache.EVICTION_TYPES LRU_EVICTION
public static SimplCache.EVICTION_TYPES[] values()
for (SimplCache.EVICTION_TYPES c : SimplCache.EVICTION_TYPES.values()) System.out.println(c);
public static SimplCache.EVICTION_TYPES 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 © 2020. All rights reserved.