title: convert Long[] to long[] (primitive) java
body: <p>How do i convert Long[] to long[]? For example i know how to convert if it is not array as below.</p>
  
  <pre><code>long ll = (Long)Object[1].longValue()
  </code></pre>
  
  <p>But how do i convert for an array, the below is not right but can anyone correct it?</p>
  
  <pre><code>long[] l_ar = (Long[])Object[]  
  </code></pre>