indexOfMax

Returns the index associated with the maximum element in the array For ties, this returns the first found.

Return

the index associated with the maximum element

Parameters

x

the array to search, must not be null or empty


Returns the index associated with the maximum element in the array For ties, this returns the first found

Return

the index associated with the maximum element

Parameters

x

the array to search, must not be null or empty