This class may be removed in the future. Consider the replacements in JEP 193 'Variable Handles': http://openjdk.java.net/jeps/193
@Override public char getCharVolatile(long byteIndex) { return unsafe.getCharVolatile(base, off + byteIndex); }
@Override public char getCharVolatile(long byteIndex) { return unsafe.getCharVolatile(null, baseAdress + byteIndex); }
public static char getCharVolatile( Object obj, long offset ) { return unsafe.getCharVolatile( obj, offset ); }
@Override public char getCharVolatile(long byteIndex) { return unsafe.getCharVolatile(base, off + byteIndex); }
@Override public char getCharVolatile(long byteIndex) { return unsafe.getCharVolatile(null, baseAdress + byteIndex); }
public static char getCharVolatile( long address ) { checkAccess( address, Character.BYTES ); return unsafe.getCharVolatile( null, address ); }
public char getCharVolatile(final long index) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_CHAR); } return UNSAFE.getCharVolatile(null, addressOffset + index); }
public char getCharVolatile(final int index) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_CHAR); } return UNSAFE.getCharVolatile(byteArray, addressOffset + index); }
public Object getProperty(Object obj) { return theUnsafe.getCharVolatile(obj, offset); }
@Override public char getChar( Object obj ) { return unsafe.getCharVolatile( obj, offset ); } }
@Override public char getChar( Object obj ) { return unsafe.getCharVolatile( obj, offset ); } }
@Override public char getChar( Object obj ) { return unsafe.getCharVolatile( obj, offset ); } }
@Override public char getCharVolatile(Object base, long offset) { AlignmentUtil.check2BytesAligned(offset); return UNSAFE.getCharVolatile(base, offset); }
public char getCharVolatile(final int index) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_CHAR); } return UNSAFE.getCharVolatile(byteArray, addressOffset + index); }
@Override public char getCharVolatile(long address) { AlignmentUtil.check2BytesAligned(address); return UNSAFE.getCharVolatile(null, address); }
@Override public char getCharVolatile(long address) { AlignmentUtil.check2BytesAligned(address); return UNSAFE.getCharVolatile(null, address); }
@Override public char getCharVolatile(Object base, long offset) { AlignmentUtil.check2BytesAligned(offset); return UNSAFE.getCharVolatile(base, offset); }
public char getCharVolatile(final int index) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_CHAR); } return UNSAFE.getCharVolatile(byteArray, addressOffset + index); }
public char getCharVolatile(final int index) { if (SHOULD_BOUNDS_CHECK) { boundsCheck0(index, SIZE_OF_CHAR); } return UNSAFE.getCharVolatile(byteArray, addressOffset + index); }
public static char getCharVolatile(Object object, long offset) { assert2BytesAligned(offset); char value = unsafe.getCharVolatile(object, offset); return (BIG_ENDIAN ? value : Bits.swap(value)); }