|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.squawk.ObjectMemoryEndianessSwapper
public final class ObjectMemoryEndianessSwapper
A ObjectMemoryEndianessSwapper instance is used to swap the endianess of all the data values in
an ObjectMemory
that are accessed via direct loads by the machine where such loads
assume a fixed endianess of the data.
Method Summary | |
---|---|
static void |
swap(ObjectMemory om,
boolean toPlatform,
boolean isCanonical)
Swaps the endianess of all the data values in om that are accessed via
direct loads by the machine where such loads assume a fixed endianess of the data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void swap(ObjectMemory om, boolean toPlatform, boolean isCanonical)
om
that are accessed via
direct loads by the machine where such loads assume a fixed endianess of the data.
om
- the object memory whose endianess is to be swappedtoPlatform
- true if om
is in the opposite endianess of the host platformisCanonical
- true if om
is in canonical form (i.e. has not had its pointers relocated)
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |