Array.get
Class Overview | Class Members | 
  This Package | 
All Packages
 public static native Object get( Object array,
                                 int index ) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
Parameters
-  array 
-  the array
    
-  index 
-  the index
    
Returns
     the (possibly wrapped) value of the indexed component in
 the specified array
    Description
 Returns the value of the indexed component in the specified
 array object.  The value is automatically wrapped in an object
 if it has a primitive type.
  
Exceptions
 NullPointerException
     If the specified object is null
    
Exceptions
 IllegalArgumentException
     If the specified object is not
 an array
    
Exceptions
 ArrayIndexOutOfBoundsException
     If the specified index
 argument is negative, or if it is greater than or equal to the
 length of the specified array