private static int[] toBoundaries(String str) {
    int[] res = new int[9];
    String[] split = str.split("\\s+");
    for (int i = 0; i < 9; i++) {
      res[i] = Integer.valueOf(split[i]).intValue();
    }
    return res;
  }
private static int [ ] toBoundaries ( String str ) { int [ ] res = new int [ 9 ] ; String [ ] split = str . split ( "\\s+" ) ; for ( int i = 0 ; i < 9 ; i ++ ) { res [ i ] = Integer . valueOf ( split [ i ] ) . intValue ( ) ; } return res ; }
Converts a param string to boundaries array.

@param str
@return