public class NullMemoryIO extends InvalidMemoryIO implements DirectMemoryIO
runtime| Constructor and Description |
|---|
NullMemoryIO(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAddress() |
protected RubyClass |
getErrorClass(Ruby runtime) |
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, dup, ex, get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, sliceclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasByteBuffer, dup, get, get, get, get, get, get, getAddress, getByte, getDouble, getFloat, getInt, getLong, getMemoryIO, getNativeLong, getShort, getZeroTerminatedByteArray, getZeroTerminatedByteArray, indexOf, indexOf, order, put, put, put, put, put, put, putAddress, putByte, putDouble, putFloat, putInt, putLong, putMemoryIO, putNativeLong, putShort, putZeroTerminatedByteArray, setMemory, slice, slicepublic NullMemoryIO(Ruby runtime)
protected RubyClass getErrorClass(Ruby runtime)
getErrorClass in class InvalidMemoryIOpublic long getAddress()
getAddress in interface DirectMemoryIOpublic boolean isNull()
MemoryIOpublic final boolean isDirect()
MemoryIOpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2002-2009 JRuby Team. All Rights Reserved.