public enum ExpiryOption extends Enum<ExpiryOption> implements Rawable
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static ExpiryOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpiryOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpiryOption NX
public static final ExpiryOption XX
public static final ExpiryOption GT
public static final ExpiryOption LT
public static ExpiryOption[] values()
for (ExpiryOption c : ExpiryOption.values()) System.out.println(c);
public static ExpiryOption 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 © 2022. All rights reserved.