INativeObject
NativeNumber
, NativeVoid
public abstract class NativeSimple extends NativeObject
NativeObject
instances. These NativeObject
instances are not
constructed from other NativeObject
instances but implemented
directly in Java, having a fixed size.DEBUG, handle, SHIFT_INT, SHIFT_LONG, SHIFT_LONGLONG, SIZE_BYTE, SIZE_INT, SIZE_LONG, SIZE_LONGLONG, SIZE_PTR, SIZE_SHORT
Modifier | Constructor | Description |
---|---|---|
protected |
NativeSimple() |
Create a wrapper for a NativePrimitive
|
protected |
NativeSimple(INativeHandle handle) |
Modifier and Type | Method | Description |
---|---|---|
int |
getByteCount() |
The number of bytes occupied by this.
|
getValue, setValue
allocate, cast, createReference, getByte, getByteArray, getBytes, getCLong, getInt, getNativeHandle, getNativeHandle, getNativeType, getShort, getString, getWideString, isNull, setByte, setByteArray, setCLong, setInt, setNativeHandle, setShort, setString, setWideString, toNestedString
protected NativeSimple()
protected NativeSimple(INativeHandle handle)
public int getByteCount()
NativeObject
getByteCount
in class NativeObject