|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.j3d.internal.ByteOrderWrapper
public final class ByteOrderWrapper
NIO Buffers are new in Java 1.4 but we need to run on 1.3 as well, so this class was created to hide the NIO classes from non-1.4 Java 3D users.
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.
Field Summary | |
---|---|
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. |
Constructor Summary | |
---|---|
private |
ByteOrderWrapper(java.lang.String name)
Private constructor is only called from static initializers in this class. |
Method Summary | |
---|---|
static ByteOrderWrapper |
nativeOrder()
Returns the native byte order of the host system. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.lang.String enum_name
public static final ByteOrderWrapper BIG_ENDIAN
public static final ByteOrderWrapper LITTLE_ENDIAN
Constructor Detail |
---|
private ByteOrderWrapper(java.lang.String name)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static ByteOrderWrapper nativeOrder()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |