Enum TJXOP
- java.lang.Object
-
- java.lang.Enum<TJXOP>
-
- de.digitalcollections.turbojpeg.lib.enums.TJXOP
-
- All Implemented Interfaces:
Serializable
,Comparable<TJXOP>
,jnr.ffi.util.EnumMapper.IntegerEnum
public enum TJXOP extends Enum<TJXOP> implements jnr.ffi.util.EnumMapper.IntegerEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TJXOP_HFLIP
TJXOP_NONE
TJXOP_ROT180
TJXOP_ROT270
TJXOP_ROT90
TJXOP_TRANSPOSE
TJXOP_TRANSVERSE
TJXOP_VFLIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
static TJXOP
valueOf(String name)
Returns the enum constant of this type with the specified name.static TJXOP[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TJXOP_NONE
public static final TJXOP TJXOP_NONE
-
TJXOP_HFLIP
public static final TJXOP TJXOP_HFLIP
-
TJXOP_VFLIP
public static final TJXOP TJXOP_VFLIP
-
TJXOP_TRANSPOSE
public static final TJXOP TJXOP_TRANSPOSE
-
TJXOP_TRANSVERSE
public static final TJXOP TJXOP_TRANSVERSE
-
TJXOP_ROT90
public static final TJXOP TJXOP_ROT90
-
TJXOP_ROT180
public static final TJXOP TJXOP_ROT180
-
TJXOP_ROT270
public static final TJXOP TJXOP_ROT270
-
-
Method Detail
-
values
public static TJXOP[] 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 (TJXOP c : TJXOP.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TJXOP 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
-
intValue
public int intValue()
- Specified by:
intValue
in interfacejnr.ffi.util.EnumMapper.IntegerEnum
-
-