How to set 2d Vector by X,Y ids as you would a 2dArray?
<p>Given a 2dArray I can directly set any element by specifying the X,Y index as such:</p>

<pre><code>2dArray[row][col] = "hello";
</code></pre>

<p>How can I accomplish the same thing with a 2D Vector or 2D ArrayList? It seems like I would need to recreate the entire column vector if i want to change any element within it, and then reset that column vector into the row. </p>

<p>I'm working on a simple tilebased game, so the ability to directly get/set by X,Y index is quite handy.</p>

<p>Thoughts? Thanks for any ideas</p>
