public class NullMemory extends InvalidMemory implements DirectMemory
Constructor and Description |
---|
NullMemory() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAddress() |
int |
hashCode() |
boolean |
isDirect()
Checks if the memory area is a native memory pointer.
|
boolean |
isNull()
Checks if the memory area is NULL.
|
asByteBuffer, clear, get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getMemory, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, put, put, put, put, put, put, putAddress, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemory, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice
getClass, notify, notifyAll, toString, wait, wait, wait
get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getMemory, getNativeLong, getShort, getZeroTerminatedByteArray, indexOf, indexOf, put, put, put, put, put, put, putAddress, putAddress, putByte, putDouble, putFloat, putInt, putLong, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice
public long getAddress()
getAddress
in interface DirectMemory
public boolean isNull()
Memory
public final boolean isDirect()
Memory
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object