public enum EffectOnBasket extends Enum<EffectOnBasket>
Enum Constant and Description |
---|
ADD_VOLUME
Add volume.
|
NO_VALUE
Identifies no value.
|
REMOVE_VOLUME
Remove volume.
|
Modifier and Type | Method and Description |
---|---|
static EffectOnBasket |
forValue(byte value) |
byte |
getValue() |
static EffectOnBasket |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EffectOnBasket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EffectOnBasket NO_VALUE
public static final EffectOnBasket ADD_VOLUME
public static final EffectOnBasket REMOVE_VOLUME
public static EffectOnBasket[] values()
for (EffectOnBasket c : EffectOnBasket.values()) System.out.println(c);
public static EffectOnBasket 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 byte getValue()
public static EffectOnBasket forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.