docs: private static void print(int width, boolean alignRight, PrintStream out, Object obj) {
          String s = String.valueOf(obj);
          int padLen = width - s.length();
          if (alignRight) {
              pad(padLen, out);
          }
          out.print(s); // doesn't truncate if (s.length() > width)
          if (!alignRight) {
              pad(padLen, out);
          }
      }