It\'s trivial to write a function to determine the min/max value in an array, such as:
/** * * @param chars * @return the max value in the array of chars
The Google Guava library has min and max methods in its Chars, Ints, Longs, etc. classes.
So you can simply use:
Chars.min(myarray)
No conversions are required and presumably it's efficiently implemented.