private static final class DefaultObjectReferenceManager.ObjectReference extends InAccessibleMemoryIO
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
referent |
Constructor and Description |
---|
ObjectReference(Runtime runtime,
long address,
java.lang.Object referent) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
long |
size()
Gets the size of this memory object in bytes (optional operation).
|
array, arrayLength, arrayOffset, error, get, get, get, get, get, get, getByte, getDouble, getFloat, getInt, getLong, getLongLong, getPointer, getPointer, getShort, getString, getString, hasArray, indexOf, put, put, put, put, put, put, putByte, putDouble, putFloat, putInt, putLong, putLongLong, putPointer, putShort, putString, setMemory
checkBounds, checkBounds, getAddress, getInt, getNativeLong, indexOf, putAddress, putAddress, putInt, putNativeLong, slice, slice, transferFrom, transferTo
address, get, getNullTerminatedPointerArray, getNullTerminatedStringArray, getRuntime, isDirect, newIntPointer, put, toString, wrap, wrap, wrap
public ObjectReference(Runtime runtime, long address, java.lang.Object referent)
public long size()
Pointer
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object