Array.getLong

Array.getLong

Class Overview | Class Members | This Package | All Packages

Syntax
public static native long getLong( Object array, int index ) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
Parameters
array
the array
index
the index
Returns
the value of the indexed component in the specified array
Description
Returns the value of the indexed component in the specified array object, as a long.

Exceptions
NullPointerException If the specified object is null
Exceptions
IllegalArgumentException If the specified object is not an array, or if the indexed element cannot be converted to the return type by an identity or widening conversion
Exceptions
ArrayIndexOutOfBoundsException If the specified index argument is negative, or if it is greater than or equal to the length of the specified array
See Also
get