public static enum ICapacityBuffer.EjectionPolicy extends java.lang.Enum<ICapacityBuffer.EjectionPolicy>
Enum Constant and Description |
---|
LeastRecentlyAdded |
LeastRecentlyMatched |
LeastRecentlyUsed |
MostRecentlyAdded |
MostRecentlyMatched |
MostRecentlyUsed |
Modifier and Type | Method and Description |
---|---|
static ICapacityBuffer.EjectionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ICapacityBuffer.EjectionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICapacityBuffer.EjectionPolicy LeastRecentlyUsed
public static final ICapacityBuffer.EjectionPolicy LeastRecentlyMatched
public static final ICapacityBuffer.EjectionPolicy LeastRecentlyAdded
public static final ICapacityBuffer.EjectionPolicy MostRecentlyUsed
public static final ICapacityBuffer.EjectionPolicy MostRecentlyMatched
public static final ICapacityBuffer.EjectionPolicy MostRecentlyAdded
public static ICapacityBuffer.EjectionPolicy[] values()
for (ICapacityBuffer.EjectionPolicy c : ICapacityBuffer.EjectionPolicy.values()) System.out.println(c);
public static ICapacityBuffer.EjectionPolicy 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