public static enum FrequentlyUsedPolicy.EvictionPolicy extends Enum<FrequentlyUsedPolicy.EvictionPolicy>
| Modifier and Type | Method and Description |
|---|---|
String |
label() |
static FrequentlyUsedPolicy.EvictionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrequentlyUsedPolicy.EvictionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrequentlyUsedPolicy.EvictionPolicy LFU
public static final FrequentlyUsedPolicy.EvictionPolicy MFU
public static FrequentlyUsedPolicy.EvictionPolicy[] values()
for (FrequentlyUsedPolicy.EvictionPolicy c : FrequentlyUsedPolicy.EvictionPolicy.values()) System.out.println(c);
public static FrequentlyUsedPolicy.EvictionPolicy 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 nullpublic String label()