CACAO
|
Actual implementation of access class for Java Object arrays. More...
Public Member Functions | |
ObjectArray (java_handle_objectarray_t *h) | |
ObjectArray (int32_t length, classinfo *componentclass) | |
Creates an array of references to the given class type on the heap. More... | |
java_handle_t ** | get_raw_data_ptr () |
![]() | |
ArrayTemplate (java_handle_array_t *h) | |
java_handle_t * | get_element (int32_t index) |
void | set_element (int32_t index, java_handle_t *value) |
void | get_region (int32_t offset, int32_t count, java_handle_t **buffer) |
void | set_region (int32_t offset, int32_t count, const java_handle_t **buffer) |
![]() | |
Array (java_handle_t *h) | |
Constructor checks if passed handle really is a Java array. More... | |
Array (int32_t length, classinfo *arrayclass) | |
Creates an array of the given array type on the heap. More... | |
virtual | ~Array () |
virtual java_handle_array_t * | get_handle () const |
int32_t | get_length () const |
bool | is_null () const |
bool | is_non_null () const |
imm_union | get_primitive_element (int32_t index) |
Returns a primitive element of the given Java array. More... | |
void | set_primitive_element (int32_t index, imm_union value) |
Sets a primitive element in the given Java array. More... | |
java_handle_t * | get_boxed_element (int32_t index) |
Returns a boxed element of the given Java array. More... | |
void | set_boxed_element (int32_t index, java_handle_t *o) |
Sets a boxed element in the given Java array. More... | |
Additional Inherited Members | |
![]() | |
ArrayTemplate (int32_t length, classinfo *arrayclass) | |
![]() | |
java_handle_array_t * | _handle |
Actual implementation of access class for Java Object arrays.
|
inline |
ObjectArray::ObjectArray | ( | int32_t | length, |
classinfo * | componentclass | ||
) |
|
inlinevirtual |
Implements ArrayTemplate< java_handle_t * >.