Package org.apache.sysds.runtime.io.cog
Enum TIFFDataTypes
- java.lang.Object
-
- java.lang.Enum<TIFFDataTypes>
-
- org.apache.sysds.runtime.io.cog.TIFFDataTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<TIFFDataTypes>
public enum TIFFDataTypes extends Enum<TIFFDataTypes>
Enum for mapping data types of IFD tags in TIFF to readable names
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSize()
int
getValue()
static TIFFDataTypes
valueOf(int value)
Returns the enum constant of this type with the specified name.static TIFFDataTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static TIFFDataTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BYTE
public static final TIFFDataTypes BYTE
-
ASCII
public static final TIFFDataTypes ASCII
-
SHORT
public static final TIFFDataTypes SHORT
-
LONG
public static final TIFFDataTypes LONG
-
RATIONAL
public static final TIFFDataTypes RATIONAL
-
SBYTE
public static final TIFFDataTypes SBYTE
-
UNDEFINED
public static final TIFFDataTypes UNDEFINED
-
SSHORT
public static final TIFFDataTypes SSHORT
-
SLONG
public static final TIFFDataTypes SLONG
-
SRATIONAL
public static final TIFFDataTypes SRATIONAL
-
FLOAT
public static final TIFFDataTypes FLOAT
-
DOUBLE
public static final TIFFDataTypes DOUBLE
-
LONG8
public static final TIFFDataTypes LONG8
-
SLONG8
public static final TIFFDataTypes SLONG8
-
IFD8
public static final TIFFDataTypes IFD8
-
-
Method Detail
-
values
public static TIFFDataTypes[] 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 (TIFFDataTypes c : TIFFDataTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TIFFDataTypes valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-
getSize
public int getSize()
-
valueOf
public static TIFFDataTypes valueOf(int value)
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:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-