Package org.scijava.io.handle
Enum DataHandle.ByteOrder
- java.lang.Object
-
- java.lang.Enum<DataHandle.ByteOrder>
-
- org.scijava.io.handle.DataHandle.ByteOrder
-
- All Implemented Interfaces:
Serializable,Comparable<DataHandle.ByteOrder>
- Enclosing interface:
- DataHandle<L extends Location>
public static enum DataHandle.ByteOrder extends Enum<DataHandle.ByteOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_ENDIANLITTLE_ENDIAN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataHandle.ByteOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static DataHandle.ByteOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LITTLE_ENDIAN
public static final DataHandle.ByteOrder LITTLE_ENDIAN
-
BIG_ENDIAN
public static final DataHandle.ByteOrder BIG_ENDIAN
-
-
Method Detail
-
values
public static DataHandle.ByteOrder[] 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 (DataHandle.ByteOrder c : DataHandle.ByteOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataHandle.ByteOrder 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
-
-