Convert two dimensional array to List in java?
<p>I have a<code>m X n</code> two dimensional array of an Object say <code>Foo</code>. So I have <code>Foo[][] foosArray</code>. What is the best way to convert this into a <code>List&lt;Foo&gt;</code> in Java?</p>
