title: Using keySet() method then changing the Set to a String Array? Java
body: <p>So this should be really simple since I know it's possible (I just don't understand 'Set' very much).</p>
  
  <p>So basically there is this TreeMap, let's call it aTree. So I need to do something like:</p>
  
  <pre><code>somethingHereProbably = aTree.keySet();
  somethingHereProbably.toStringArray();
  </code></pre>