public static StringBuilder formatTo(StringBuilder buf,boolean b){
  return buf.append(b ? "true" : "false");
}

public static StringBuilder formatTo ( StringBuilder buf , boolean b ) { return buf . append ( b ? "true" : "false" ) ; }
format a boolean value as string " true " or " false " .
