code: public static void printf(Object self, String format, Object[] values) {
          if (self instanceof PrintStream)
              ((PrintStream)self).printf(format, values);
          else
              System.out.printf(format, values);
      }
docs: Printf to the standard output stream.
  
  @param self   any Object
  @param format a format string
  @param values values referenced by the format specifiers in the format string
  @since 1.0