private static enum LittleEndianByteArray.UnsafeByteArray extends java.lang.Enum<LittleEndianByteArray.UnsafeByteArray> implements LittleEndianByteArray.LittleEndianBytes
Enum Constant and Description |
---|
UNSAFE_BIG_ENDIAN |
UNSAFE_LITTLE_ENDIAN |
Modifier and Type | Field and Description |
---|---|
private static int |
BYTE_ARRAY_BASE_OFFSET |
private static sun.misc.Unsafe |
theUnsafe |
Modifier and Type | Method and Description |
---|---|
private static sun.misc.Unsafe |
getUnsafe()
Returns a sun.misc.Unsafe.
|
static LittleEndianByteArray.UnsafeByteArray |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LittleEndianByteArray.UnsafeByteArray[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getLongLittleEndian, putLongLittleEndian
public static final LittleEndianByteArray.UnsafeByteArray UNSAFE_LITTLE_ENDIAN
public static final LittleEndianByteArray.UnsafeByteArray UNSAFE_BIG_ENDIAN
private static final sun.misc.Unsafe theUnsafe
private static final int BYTE_ARRAY_BASE_OFFSET
public static LittleEndianByteArray.UnsafeByteArray[] values()
for (LittleEndianByteArray.UnsafeByteArray c : LittleEndianByteArray.UnsafeByteArray.values()) System.out.println(c);
public static LittleEndianByteArray.UnsafeByteArray valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprivate static sun.misc.Unsafe getUnsafe()