javaclass

tests/MultiArrayTest.java

140:1afe376ec3fd
2005-01-22 Paul Boddie Updated the documentation.
     1 public class MultiArrayTest {     2     public int[][] multiArray;     3      4     public MultiArrayTest(int[] multiSizes) {     5         multiArray = new int[multiSizes[0]][multiSizes[1]];     6     }     7      8     public int get(int index1, int index2) {     9         return multiArray[index1][index2];    10     }    11 }