Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.jboss.integration.example;
 
 import java.util.Map;
 
 public class PhraseBuilder {
     private Map<StringStringtemplates;
    public String buildPhrase(String idObject... args) {
        return MessageFormat.format(.get(id), args);
    }
    public void initialize() {
         = new HashMap<StringString>();
        .put("hello""Hello, {0}!");
    }
New to GrepCode? Check out our FAQ X