public enum Eviction extends Enum<Eviction>
| Enum Constant and Description |
|---|
LRU |
NONE |
W_TINY_LFU |
| Modifier and Type | Method and Description |
|---|---|
static Eviction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Eviction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Eviction LRU
public static final Eviction W_TINY_LFU
public static final Eviction NONE
public static Eviction[] values()
for (Eviction c : Eviction.values()) System.out.println(c);
public static Eviction 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–2021 Robert Stupp, Koeln, Germany, robert-stupp.de. All rights reserved.