public final class ByteOrderWrapper
extends java.lang.Object
Typesafe enum for byte orders.
NOTE: We no longer need to support JDK 1.3 as of the Java 3D 1.3.2 community source release on java.net. We should be able to get rid of this class.
| Modifier and Type | Field and Description |
|---|---|
static ByteOrderWrapper |
BIG_ENDIAN
Static initializer creates object of this type.
|
private java.lang.String |
enum_name |
static ByteOrderWrapper |
LITTLE_ENDIAN
Static initializer creates object of this type.
|
| Modifier | Constructor and Description |
|---|---|
private |
ByteOrderWrapper(java.lang.String name)
Private constructor is only called from static initializers
in this class.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteOrderWrapper |
nativeOrder()
Returns the native byte order of the host system.
|
java.lang.String |
toString() |
private final java.lang.String enum_name
public static final ByteOrderWrapper BIG_ENDIAN
public static final ByteOrderWrapper LITTLE_ENDIAN
private ByteOrderWrapper(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Objectpublic static ByteOrderWrapper nativeOrder()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.