| java.lang.Object org.apache.harmony.awt.nativebridge.VoidPointer org.apache.harmony.awt.nativebridge.Int32Pointer
Method Summary | |
public void | fill(int value, int size) | public int | get(int index) returns the element at the specified position. | public void | get(int[] dst, int offset, int length) This method transfers int values into the given destination array. | public Int32Pointer | getElementPointer(int index) returns class that represents the pointer to specified index. | public void | set(int index, int value) sets the element at the specified position. | public void | set(int[] src, int offset, int length) This method transfers short values from the given destination array. | public int | size() returns the number of elements in array referenced by this object. |
Int32Pointer | Int32Pointer(int size, boolean direct)(Code) | | |
Int32Pointer | Int32Pointer(long addr)(Code) | | |
fill | public void fill(int value, int size)(Code) | | Fills the memory with the gven value
Parameters: value - Parameters: size - |
get | public int get(int index)(Code) | | returns the element at the specified position.
|
get | public void get(int[] 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 |
getElementPointer | public Int32Pointer getElementPointer(int index)(Code) | | returns class that represents the pointer to specified index.
|
set | public void set(int index, int value)(Code) | | sets the element at the specified position.
|
set | public void set(int[] 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 |
size | public int size()(Code) | | returns the number of elements in array referenced by this object. If size is unknown returns -1.
|
|
|