public static enum RelativeVolume.PeakVolumeSize extends java.lang.Enum<RelativeVolume.PeakVolumeSize>
Enum Constant and Description |
---|
SIZE_32_BITS
32 bit peak volume
|
SIZE_NONE
no peak volume
|
Modifier and Type | Method and Description |
---|---|
static RelativeVolume.PeakVolumeSize |
getPeakVolumeSize(int size)
convert an integral value to its corresponding enum.
|
java.lang.String |
toString() |
static RelativeVolume.PeakVolumeSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelativeVolume.PeakVolumeSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeVolume.PeakVolumeSize SIZE_NONE
public static final RelativeVolume.PeakVolumeSize SIZE_32_BITS
public static RelativeVolume.PeakVolumeSize[] values()
for (RelativeVolume.PeakVolumeSize c : RelativeVolume.PeakVolumeSize.values()) System.out.println(c);
public static RelativeVolume.PeakVolumeSize 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 java.lang.String toString()
toString
in class java.lang.Enum<RelativeVolume.PeakVolumeSize>
public static RelativeVolume.PeakVolumeSize getPeakVolumeSize(int size)
size
- the integral value that is to be converted to a PeakVolumeSize enum.java.lang.IllegalArgumentException
- if there is no PeakVolumeSize enum whose ordinal value corresponds to the given integral value.