| java.lang.Object org.apache.harmony.awt.nativebridge.VoidPointer org.apache.harmony.awt.nativebridge.PointerPointer
Method Summary | |
public void | fill(long value, int size) | public VoidPointer | get(int index) returns the element at the specified position. | public void | get(VoidPointer[] dst, int offset, int length) This method transfers int values into the given destination array. | public long | getAddress(int index) returns the element at the specified position. | public void | getAddress(long[] dst, int offset, int length) | public PointerPointer | getElementPointer(int index) returns class that represents the pointer to specified index. | public void | set(int index, VoidPointer value) sets the element at the specified position. | public void | set(VoidPointer[] src, int offset, int length) This method transfers short values from the given destination array. | public void | setAddress(int index, long value) sets the element at the specified position. | public void | setAddress(long[] src, int offset, int length) | public int | size() returns the number of elements in array referenced by this object. |
PointerPointer | PointerPointer(int size, boolean direct)(Code) | | |
PointerPointer | PointerPointer(long ptrPtr)(Code) | | Creates Pointer based on native pointer to pointer
|
PointerPointer | PointerPointer(VoidPointer pointer, boolean direct)(Code) | | Creates Pointer to the given pointer.
Pointer should be unlocked after usage of the created PointerPointer
Parameters: pointer - Parameters: direct - |
fill | public void fill(long value, int size)(Code) | | |
get | public VoidPointer get(int index)(Code) | | returns the element at the specified position.
|
get | public void get(VoidPointer[] dst, int offset, int length)(Code) | | This method transfers int values into the given destination array.
Parameters: dst - - The array into which values are to be written Parameters: offset - - The offset within the array of the first element to be written;must be non-negative and no larger than dst.length Parameters: length - - The maximum number of elements to be written to the given array;must be non-negative and no larger than dst.length - offset |
getAddress | public long getAddress(int index)(Code) | | returns the element at the specified position.
|
getAddress | public void getAddress(long[] dst, int offset, int length)(Code) | | |
getElementPointer | public PointerPointer getElementPointer(int index)(Code) | | returns class that represents the pointer to specified index.
|
set | public void set(int index, VoidPointer value)(Code) | | sets the element at the specified position.
|
set | public void set(VoidPointer[] src, int offset, int length)(Code) | | This method transfers short values from the given destination array.
Parameters: src - - The array from which values are to be read Parameters: offset - - The offset within the array of the first element to be read;must be non-negative and no larger than dst.length Parameters: length - - The maximum number of elements to be read from the given array;must be non-negative and no larger than dst.length - offset |
setAddress | public void setAddress(int index, long value)(Code) | | sets the element at the specified position.
|
setAddress | public void setAddress(long[] src, int offset, int length)(Code) | | |
size | public int size()(Code) | | returns the number of elements in array referenced by this object. If size is unknown returns -1.
|
|
|