public enum OsByteOrder extends java.lang.Enum<OsByteOrder> implements java.io.Serializable
| Enum Constant and Description |
|---|
BIG_ENDIAN |
LITTLE_ENDIAN |
| Modifier and Type | Method and Description |
|---|---|
static OsByteOrder |
fromByteOrder(java.nio.ByteOrder order) |
java.nio.ByteOrder |
getByteOrder() |
boolean |
isBigEndian() |
boolean |
isLittleEndian() |
static OsByteOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsByteOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsByteOrder BIG_ENDIAN
public static final OsByteOrder LITTLE_ENDIAN
public static OsByteOrder[] values()
for (OsByteOrder c : OsByteOrder.values()) System.out.println(c);
public static OsByteOrder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static OsByteOrder fromByteOrder(java.nio.ByteOrder order)
public java.nio.ByteOrder getByteOrder()
public boolean isLittleEndian()
public boolean isBigEndian()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.