|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.modules.jffi.InvalidMemory
org.python.modules.jffi.NullMemory
public class NullMemory
An implementation of MemoryIO that throws an exception on any access.
Constructor Summary | |
---|---|
NullMemory()
|
Method Summary | |
---|---|
boolean |
equals(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. |
Methods inherited from class org.python.modules.jffi.InvalidMemory |
---|
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 |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.python.modules.jffi.Memory |
---|
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 |
Constructor Detail |
---|
public NullMemory()
Method Detail |
---|
public long getAddress()
getAddress
in interface DirectMemory
public boolean isNull()
Memory
isNull
in interface Memory
public final boolean isDirect()
Memory
isDirect
in interface Memory
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |