Array.getLength

Array.getLength

Class Overview | Class Members | This Package | All Packages

Syntax
public static native int getLength( Object array ) throws IllegalArgumentException
Parameters
array
the array
Returns
the length of the array
Description
Returns the length of the specified array object, as an int.

Exceptions
IllegalArgumentException if the object argument is not an array