j2native |
AnsiString |
Argument |
ArrayArgument |
ArrayType |
Bool |
Callback |
Char |
Const |
DelegatedArgument |
DoubleFloat |
FloatArgument |
FloatType |
Function |
FunctionExecutionException |
FunctionNotFoundException |
IllegalMemoryAccessException |
Int |
Int16 |
Int32 |
Int64 |
Int8 |
IntegerArgument |
IntegerType |
J2NativeContext |
Library |
LibraryLoader |
LibraryNotFoundException |
MemoryException |
NumericArgument |
NumericType |
OutOnly |
Pointer |
Pointer.Const |
Pointer.OutOnly |
Pointer.Void |
PointerArgument |
PointerType |
SimpleFloat |
StringType |
StructuralArgument |
Structure |
TypedPointer |
UInt |
UInt16 |
UInt32 |
UInt8 |
Union |
WideChar |
WideString |
ZeroTerminatedString |
| |
com.smardec.j2native
Class Pointer.Void
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.PointerArgument
|
+--com.smardec.j2native.Pointer.Void
- All Implemented Interfaces:
- java.lang.Cloneable, PointerType
- Enclosing class:
- Pointer
- public static final class Pointer.Void
- extends PointerArgument
Class Pointer.Void represents a void *. This pointer can be
used for parameters where the referenced object type/size is not known or
is of no interest for the client
Constructor Summary |
Pointer.Void()
Constructs a new null pointer. |
Pointer.Void(long handle)
Constructs a new void pointer that has the given value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pointer.Void
public Pointer.Void()
- Constructs a new null pointer.
Pointer.Void
public Pointer.Void(long handle)
- Constructs a new void pointer that has the given value.
- Parameters:
- handle - memory handle
isNull
public boolean isNull()
- Description copied from interface: PointerType
- Tests if this pointer is null.
- Returns:
- boolean
getValue
public long getValue()
- Description copied from interface: PointerType
- Returns native memory handle
setValue
public void setValue(long handle)
- Description copied from interface: PointerType
- Sets memory handle
- Parameters:
- handle - memory handle
getReferencedArgument
public Argument getReferencedArgument()
- Description copied from interface: PointerType
- Returns the referenced object of this pointer
- Returns:
- referenced object
|
|
|