Enum MatroskaEbmlReader.Type
- java.lang.Object
-
- java.lang.Enum<MatroskaEbmlReader.Type>
-
- com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaEbmlReader.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatroskaEbmlReader.Type>
- Enclosing class:
- MatroskaEbmlReader
public static enum MatroskaEbmlReader.Type extends java.lang.Enum<MatroskaEbmlReader.Type>
EBML code type (sign handling method).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LACE_SIGNEDSigned value where where sign is applied via subtraction.SIGNEDSigned value with first bit marking the sign.UNSIGNEDUnsigned value.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatroskaEbmlReader.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MatroskaEbmlReader.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIGNED
public static final MatroskaEbmlReader.Type SIGNED
Signed value with first bit marking the sign.
-
LACE_SIGNED
public static final MatroskaEbmlReader.Type LACE_SIGNED
Signed value where where sign is applied via subtraction.
-
UNSIGNED
public static final MatroskaEbmlReader.Type UNSIGNED
Unsigned value.
-
-
Method Detail
-
values
public static MatroskaEbmlReader.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MatroskaEbmlReader.Type c : MatroskaEbmlReader.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatroskaEbmlReader.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-