code: public static String padTo(final int i, final int pad) {
          String n = Integer.toString(i);
          return padTo(n, pad);
      }
docs: Convert an <code>int</code> to a <code>String</code>, and pad it to
  <code>pad</code> spaces.
  @param i the int
  @param pad the width to pad to.
  @return String w/ padding.