| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.cldc.jna.PrivatePointer
public class PrivatePointer
Utilities used by JNA generated Java code. SHOULD NOT BE USED BY USER CODE.
| Method Summary | |
|---|---|
| static Address | createArrayBuffer(Object array)Create a native buffer pointing to either the array data directly, or to a copy of the array data. | 
| static Address | createArrayBuffer(Object array,
                  int offset,
                  int number)Create a native buffer pointing to either the array data directly, or to a copy of the array data. | 
| static boolean | setUpArrayBufferState()Get ready to allow creating array buffers. | 
| static void | tearDownArrayBufferState(boolean oldState)Clean up after creating array buffers. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static boolean setUpArrayBufferState()
public static void tearDownArrayBufferState(boolean oldState)
oldState - 
public static Address createArrayBuffer(Object array)
                                 throws OutOfMemoryError
array - the array to access
OutOfMemoryError - if the underlying memory cannot be allocated
IllegalArgumentException - if array is not really an array
public static Address createArrayBuffer(Object array,
                                        int offset,
                                        int number)
                                 throws OutOfMemoryError
array - the array to accessoffset - index of the first element to accessnumber - number of elements to access
OutOfMemoryError - if the underlying memory cannot be allocated
IllegalArgumentException - if array is not really an array| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||