Java - Managing specific int[][]
<p>Let's say I want to store three sets of 2D arrays that load up on <code>int[][] board</code>.</p>

<p>An example set:</p>

<pre><code>{
{ 67, 67, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118 },
{ 67, 343, 343, 343, 343, 343, 343, 343, 343, 394, 1, 1, 1, 1, 1, 118 },
{ 67, 343, 448, 343, 343, 343, 343, 343, 514, 514, 1, 166, 166, 166, 1, 118 },
{ 67, 343, 343, 343, 343, 343, 430, 343, 514, 514, 1, 166, 166, 166, 1, 118 },
{ 343, 343, 343, 343, 343, 343, 343, 343, 514, 514, 1, 166, 166, 166, 1, 118 },
{ 343, 343, 343, 343, 343, 343, 343, 343, 514, 514, 439, 472, 73, 472, 469, 118 },
{ 118, 343, 343, 343, 343, 343, 343, 343, 448, 343, 343, 343, 343, 343, 343, 118 },
{ 118, 343, 448, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 118 },
{ 67, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 430, 343, 343, 118 },
{ 67, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 118 },
{ 67, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118 }
};
</code></pre>

<p>Of course, the other two sets will have different numbers. But let's say I randomly generate three of these sets and I want to load them by by, lets say, doing <code>loadBoard(1)</code> where <code>1</code> could be an identifier to uniquely name the map ids. </p>

<p>I'm not asking for code merely how I would go about approaching this. This not not a "do my assignment" but more of a "what exactly should i do".</p>

<p><strong>Keep in mind</strong>, these sets will NOT be specified already in the file. They will be read from a .txt file so that will be coming in when the file loads.</p>

<p>Thank you.</p>
