final class HeapBufferParameterStrategy extends ParameterStrategy
Modifier and Type | Field and Description |
---|---|
private static HeapBufferParameterStrategy[] |
heapBufferStrategies |
objectCount
Constructor and Description |
---|
HeapBufferParameterStrategy(com.kenai.jffi.ObjectParameterType.ComponentType componentType) |
Modifier and Type | Method and Description |
---|---|
long |
address(java.lang.Object o) |
(package private) static HeapBufferParameterStrategy |
get(com.kenai.jffi.ObjectParameterType.ComponentType componentType) |
int |
length(java.lang.Object o) |
java.lang.Object |
object(java.lang.Object o) |
int |
offset(java.lang.Object o) |
private static final HeapBufferParameterStrategy[] heapBufferStrategies
public HeapBufferParameterStrategy(com.kenai.jffi.ObjectParameterType.ComponentType componentType)
public long address(java.lang.Object o)
address
in class com.kenai.jffi.ObjectParameterStrategy
public java.lang.Object object(java.lang.Object o)
object
in class com.kenai.jffi.ObjectParameterStrategy
public int offset(java.lang.Object o)
offset
in class com.kenai.jffi.ObjectParameterStrategy
public int length(java.lang.Object o)
length
in class com.kenai.jffi.ObjectParameterStrategy
static HeapBufferParameterStrategy get(com.kenai.jffi.ObjectParameterType.ComponentType componentType)