javaclass

tests/MultiArrayTest.java

139:9812fa1e4816
2005-01-21 Paul Boddie Worked on the documentation somewhat.
     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 }