You could sort the array and get the positions 0 and length-1:
Arrays.sort(convertedValues);
int min = convertedValues[0];
int max = convertedValues[convertedValues.length - 1];
Arrays#sort(int[]):
Sorts the specified array of ints into ascending numerical order.
So, after sorting, the first element is the minimum, the last is the maximum.