public class CRuntime.CTypeInfo<T extends NativeObject> extends Object implements BridJRuntime.TypeInfo<T>
Modifier and Type | Method and Description |
---|---|
T |
cast(Pointer peer) |
T |
clone(T instance) |
int |
compare(T instance,
T other) |
void |
copyNativeObjectToAddress(T instance,
Pointer<T> ptr) |
T |
createReturnInstance() |
String |
describe() |
String |
describe(T instance) |
void |
destroy(T instance) |
boolean |
equal(T instance,
T other) |
BridJRuntime |
getRuntime() |
Type |
getType() |
void |
initialize(T instance) |
void |
initialize(T instance,
int constructorId,
Object... args) |
void |
initialize(T instance,
Pointer peer) |
void |
readFromNative(T instance) |
long |
sizeOf() |
void |
writeToNative(T instance) |
public long sizeOf()
sizeOf
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public boolean equal(T instance, T other)
equal
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public int compare(T instance, T other)
compare
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public BridJRuntime getRuntime()
getRuntime
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public Type getType()
getType
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public T cast(Pointer peer)
cast
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public T createReturnInstance()
createReturnInstance
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public void writeToNative(T instance)
writeToNative
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public void readFromNative(T instance)
readFromNative
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public void copyNativeObjectToAddress(T instance, Pointer<T> ptr)
copyNativeObjectToAddress
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public String describe(T instance)
describe
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public String describe()
describe
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public void initialize(T instance)
initialize
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public void initialize(T instance, Pointer peer)
initialize
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public void initialize(T instance, int constructorId, Object... args)
initialize
in interface BridJRuntime.TypeInfo<T extends NativeObject>
public T clone(T instance) throws CloneNotSupportedException
clone
in interface BridJRuntime.TypeInfo<T extends NativeObject>
CloneNotSupportedException
public void destroy(T instance)
destroy
in interface BridJRuntime.TypeInfo<T extends NativeObject>
Copyright © 2009-2020. All Rights Reserved.