class RectTest { public static void main( String[] argv ) { RectDomain<1> R = [1 : 10]; Point<1> mip = R.min(), mxp = R.max(); int mi = mip[0], mx = mxp[0]; System.out.println("R = [1 : 10]"); System.out.println("R.min() = " + mi); System.out.println("R.max() = " + mx); /* foreach (i within R) { System.out.println(i); } */ } }