boolean [ ] [ ] function ( ) { int loc0 = StdIn . readInt ( ) ; int loc1 = StdIn . readInt ( ) ; boolean [ ] [ ] loc2 = new boolean [ loc0 ] [ loc1 ] ; for ( int loc3 = 0 ; loc3 < loc0 ; loc3 ++ ) { for ( int loc4 = 0 ; loc4 < loc1 ; loc4 ++ ) { loc2 [ loc3 ] [ loc4 ] = StdIn . readBoolean ( ) ; } } return loc2 ; }
read in and return an m-by-n array of booleans from standard input . concode_field_sep PlaceHolder placeHolder concode_field_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep int[][] readInt2D concode_elem_sep int[] readInt1D concode_elem_sep void main concode_elem_sep double[] readDouble1D concode_elem_sep double[][] readDouble2D concode_elem_sep boolean[] readBoolean1D