public enum KCacheType extends java.lang.Enum<KCacheType>
Enum Constant and Description |
---|
ktListAndObjects |
ktListOnly |
ktNone |
Modifier and Type | Method and Description |
---|---|
static KCacheType |
getCacheTypeByIndex(int index) |
static KCacheType |
getCacheTypeByIndex(java.lang.String index) |
int |
getLabel() |
void |
setLabel(int value) |
static KCacheType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KCacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KCacheType ktNone
public static final KCacheType ktListOnly
public static final KCacheType ktListAndObjects
public static KCacheType[] values()
for (KCacheType c : KCacheType.values()) System.out.println(c);
public static KCacheType 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 nullpublic int getLabel()
public void setLabel(int value)
public static KCacheType getCacheTypeByIndex(int index)
public static KCacheType getCacheTypeByIndex(java.lang.String index)