Build 1.0_r1(from source)

java.nio
Class ByteOrder

java.lang.Object
  extended by java.nio.ByteOrder

public final class ByteOrder
extends Object

Holds byte order constants.


Field Summary
static ByteOrder BIG_ENDIAN
          This constant represents big endian.
static ByteOrder LITTLE_ENDIAN
          This constant represents little endian.
 
Method Summary
static ByteOrder nativeOrder()
          Returns the current platform byte order.
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BIG_ENDIAN

public static final ByteOrder BIG_ENDIAN
This constant represents big endian.


LITTLE_ENDIAN

public static final ByteOrder LITTLE_ENDIAN
This constant represents little endian.

Method Detail

nativeOrder

public static ByteOrder nativeOrder()
Returns the current platform byte order.

Returns:
the byte order object, which is either identical to LITTLE_ENDIAN or BIG_ENDIAN.

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature