public enum MpegAudioVersion extends Enum<MpegAudioVersion> implements IEnumValue
Represents a particular MPEG standard.
| Enum Constant and Description |
|---|
Mpeg1
The MPEG 1 standard.
|
Mpeg2
The MPEG 2 standard.
|
Mpeg25
The MPEG 2.5 standard.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static MpegAudioVersion |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static MpegAudioVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MpegAudioVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final MpegAudioVersion Mpeg25
The MPEG 2.5 standard.
public static final MpegAudioVersion Mpeg2
The MPEG 2 standard.
public static final MpegAudioVersion Mpeg1
The MPEG 1 standard.
public static MpegAudioVersion[] values()
for (MpegAudioVersion c : MpegAudioVersion.values()) System.out.println(c);
public static MpegAudioVersion 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 static MpegAudioVersion getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValue