public static enum SoundSystem.Type extends java.lang.Enum<SoundSystem.Type>
Enum Constant and Description |
---|
AMPLIFIER_GENERAL |
AMPLIFIER_GROUP |
AMPLIFIER_P2P |
SOURCE_GENERAL |
SOURCE_P2P |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AMPLIFIER_GENERAL_COMMAND |
static java.lang.String |
SOURCE_GENERAL_COMMAND |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValid(SoundSystem.Type type,
java.lang.String value)
Validate if type and value are allowed.
|
static SoundSystem.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoundSystem.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoundSystem.Type AMPLIFIER_GENERAL
public static final SoundSystem.Type AMPLIFIER_GROUP
public static final SoundSystem.Type AMPLIFIER_P2P
public static final SoundSystem.Type SOURCE_GENERAL
public static final SoundSystem.Type SOURCE_P2P
public static final java.lang.String AMPLIFIER_GENERAL_COMMAND
public static final java.lang.String SOURCE_GENERAL_COMMAND
public static SoundSystem.Type[] values()
for (SoundSystem.Type c : SoundSystem.Type.values()) System.out.println(c);
public static SoundSystem.Type 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 static boolean isValid(SoundSystem.Type type, java.lang.String value)
type
- Sound System typevalue
- Where value