public static transient String formatToString(int i, Object aobj[]) {
   CharArrayOutPort chararrayoutport = new CharArrayOutPort();
   format(chararrayoutport, aobj, i);
   aobj = chararrayoutport.toString();
   chararrayoutport.close();
   return ((String) (aobj));
 }
 public final void print(Consumer paramConsumer) {
   if ((paramConsumer instanceof OutPort)) {
     print((OutPort) paramConsumer);
     return;
   }
   if ((paramConsumer instanceof PrintWriter)) {
     paramConsumer = new OutPort((PrintWriter) paramConsumer);
     print(paramConsumer);
     paramConsumer.close();
     return;
   }
   CharArrayOutPort localCharArrayOutPort = new CharArrayOutPort();
   print(localCharArrayOutPort);
   localCharArrayOutPort.close();
   localCharArrayOutPort.writeTo(paramConsumer);
 }