public enum ByteOrder extends Enum<ByteOrder>
Enum Constant and Description |
---|
BIG_ENDIAN |
LITTLE_ENDIAN |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
get(IoBuffer data,
int index,
org.eclipse.scada.da.server.common.memory.accessor.Getter<T> getter) |
abstract <T> void |
put(IoBuffer data,
org.eclipse.scada.da.server.common.memory.accessor.Setter<T> setter,
T value) |
static ByteOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteOrder LITTLE_ENDIAN
public static final ByteOrder BIG_ENDIAN
public static ByteOrder DEFAULT
public static ByteOrder[] values()
for (ByteOrder c : ByteOrder.values()) System.out.println(c);
public static ByteOrder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract <T> T get(IoBuffer data, int index, org.eclipse.scada.da.server.common.memory.accessor.Getter<T> getter)
public abstract <T> void put(IoBuffer data, org.eclipse.scada.da.server.common.memory.accessor.Setter<T> setter, T value)