title: How to use toArray() method in ArrayWritable - Hadoop
body: <p>There is a <code>toArray()</code> method in <code>ArrayWritable</code> class in hadoop which should mean: convert this <code>ArrayWritable</code> to an array. But the syntax of of it is:</p>
  
  <pre><code>public Object toArray()
  </code></pre>
  
  <p>So how should we use this function? There is no documentation about it on doc package.</p>