public enum ByteOrder extends Enum<ByteOrder>
Enum Constant and Description |
---|
BIG_ENDIAN |
LITTLE_ENDIAN |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
get(org.apache.mina.core.buffer.IoBuffer data,
int index,
Getter<T> getter) |
abstract <T> void |
put(org.apache.mina.core.buffer.IoBuffer data,
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(org.apache.mina.core.buffer.IoBuffer data, int index, Getter<T> getter)
public abstract <T> void put(org.apache.mina.core.buffer.IoBuffer data, Setter<T> setter, T value)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.