I have the following code and I am trying to convert the keys of a TreeMap into an array. I try the attached code but I do not know how can I generate the int[] array from t