private static final ArrayIO getArrayIO() { if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) { return Platform.getPlatform().addressSize() == 64 ? newBE64ArrayIO() : newBE32ArrayIO(); } else { return Platform.getPlatform().addressSize() == 64 ? newLE64ArrayIO() : newLE32ArrayIO(); } } private static final ArrayIO newBE64ArrayIO() {
private static final ArrayIO getArrayIO() { if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) { return Platform.getPlatform().addressSize() == 64 ? newBE64ArrayIO() : newBE32ArrayIO(); } else { return Platform.getPlatform().addressSize() == 64 ? newLE64ArrayIO() : newLE32ArrayIO(); } } private static final ArrayIO newBE64ArrayIO() {
private static final ArrayIO getArrayIO() { if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) { return Platform.getPlatform().addressSize() == 64 ? newBE64ArrayIO() : newBE32ArrayIO(); } else { return Platform.getPlatform().addressSize() == 64 ? newLE64ArrayIO() : newLE32ArrayIO(); } } private static final ArrayIO newBE64ArrayIO() {
private static final ArrayIO getArrayIO() { if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) { return Platform.getPlatform().addressSize() == 64 ? newBE64ArrayIO() : newBE32ArrayIO(); } else { return Platform.getPlatform().addressSize() == 64 ? newLE64ArrayIO() : newLE32ArrayIO(); } } private static final ArrayIO newBE64ArrayIO() {