code: public static int[] splitInt(String str) {
          String[] ss = Strings.splitIgnoreBlank(str);
          if (null == ss)
              return null;
          int[] ns = new int[ss.length];
          for (int i = 0; i < ns.length; i++) {
              try {
                  ns[i] = Integer.parseInt(ss[i]);
              }
              catch (NumberFormatException e) {
                  ns[i] = -1;
              }
          }
          return ns;
      }
docs: 将一个字符串变成一个整型数组，如果字符串不符合规则，对应的元素为 -1 <br>
  比如：
  
  <pre>
  "3,4,9"   =>  [  3, 4, 9 ]
  "a,9,100" =>  [ -1, 9, 100 ]
  </pre>
  
  @param str
  半角逗号分隔的数字字符串
  @return 数组