I need to convert a HashMap to an array; could anyone show me how it\'s done?
HashMap
I used almost the same as @kmccoy, but instead of a keySet() I did this
keySet()
hashMap.values().toArray(new MyObject[0]);