Overview | Methods | This Package | All Packages
Trims an array to a specified length.
Syntax
public static Object[] trimArray( Object[] ar, int len )
Parameters
ar
The array to trim.
len
The specified length.
Return Value
Returns the array, or returns null if the array is null.