Package com.drew.metadata.jpeg
Enum HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass
- java.lang.Object
-
- java.lang.Enum<HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass>
-
- com.drew.metadata.jpeg.HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass>
- Enclosing class:
- HuffmanTablesDirectory.HuffmanTable
public static enum HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass extends java.lang.Enum<HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass
typeOf(int value)
static HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DC
public static final HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass DC
-
AC
public static final HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass AC
-
UNKNOWN
public static final HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass UNKNOWN
-
-
Method Detail
-
values
public static HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass[] 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 (HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass c : HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass 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
-
typeOf
public static HuffmanTablesDirectory.HuffmanTable.HuffmanTableClass typeOf(int value)
-
-