public static Vector padRight(Collection doubles, String pattern) {
    return padRight(formatDecimal(doubles, pattern));
  }
Centers the given string on the <code>PrintWriter</code>

@param s the string to center
@param pw the <code>PrintWriter</code> to print with
geode-junit/src/main/java/perffmwk/Formatter.java