title: How to convert Scala Array to Java List ?
body: <p>I want to convert an <code>Scala</code> array to <code>Java</code> list.</p>
  
  <p><code>val legends = Array("0-500", "500-1000", "1000-2000", "2000-3000", "3000+")</code></p>
  
  <p>to Java List.</p>