Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.nio
Class ByteOrder  view ByteOrder download ByteOrder.java

java.lang.Object
  extended byjava.nio.ByteOrder

public final class ByteOrder
extends java.lang.Object

Since:
1.4

Field Summary
static ByteOrder BIG_ENDIAN
          Constant indicating big endian byte order.
static ByteOrder LITTLE_ENDIAN
          Constant indicating little endian byte order.
 
Constructor Summary
private ByteOrder()
           
 
Method Summary
static ByteOrder nativeOrder()
          Returns the native byte order of the platform currently running.
 java.lang.String toString()
          Returns a string representation of the byte order.
 
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
Constant indicating big endian byte order.


LITTLE_ENDIAN

public static final ByteOrder LITTLE_ENDIAN
Constant indicating little endian byte order.

Constructor Detail

ByteOrder

private ByteOrder()
Method Detail

nativeOrder

public static ByteOrder nativeOrder()
Returns the native byte order of the platform currently running.


toString

public java.lang.String toString()
Returns a string representation of the byte order.