java.lang.Object |
↳ |
java.lang.Enum<E extends java.lang.Enum<E>> |
|
↳ |
com.pnfsoftware.jeb.util.io.Endianness |
Class Overview
An enumeration version of ByteOrder.
Note: ByteOrder
was introduced before Java 5, and true enums did not exist at the time.
Summary
Enum Values |
Endianness |
BIG_ENDIAN |
Big-endian enumerated value. |
Endianness |
LITTLE_ENDIAN |
Little-endian enumerated value. |
Endianness |
MIDDLE_ENDIAN |
Middle-endian (aka "PDP" endianness)
|
[Expand]
Inherited Methods |
From class
java.lang.Enum
final
Object
|
clone()
|
final
int
|
compareTo(E arg0)
|
int
|
compareTo(Object arg0)
|
final
boolean
|
equals(Object arg0)
|
final
void
|
finalize()
|
final
Class<E>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
java.lang.Comparable
abstract
int
|
compareTo(T arg0)
|
|
Enum Values
public
static
final
Endianness
BIG_ENDIAN
Big-endian enumerated value.
public
static
final
Endianness
LITTLE_ENDIAN
Little-endian enumerated value.
public
static
final
Endianness
MIDDLE_ENDIAN
Middle-endian (aka "PDP" endianness)
Public Methods
public
static
Endianness
fromByteOrder
(ByteOrder order)
public
boolean
isLittle
()
public
boolean
isMiddle
()
public
ByteOrder
toByteOrder
()
public
String
toString
()