public String replace(final Map<String,String> params){
  final StringBuilder r=new StringBuilder();
  for (  final Format f : patternOps) {
    f.format(r,params);
  }
  return r.toString();
}

public String replace ( final Map < String , String > params ) { final StringBuilder r = new StringBuilder ( ) ; for ( final Format f : patternOps ) { f . format ( r , params ) ; } return r . toString ( ) ; }
format this string by performing the variable replacements .
