public enum StoreType extends Enum<StoreType>
| Enum Constant and Description |
|---|
add
Store a value in the cache iff there is not already something stored for
the given key.
|
replace
Store a value in the cache iff there is already something stored for the
given key.
|
set
Unconditionally store a value in the cache.
|
| Modifier and Type | Method and Description |
|---|---|
static StoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreType set
public static final StoreType add
public static final StoreType replace
public static StoreType[] values()
for (StoreType c : StoreType.values()) System.out.println(c);
public static StoreType 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 © 2019. All rights reserved.