com.firefly.template.FunctionRegistry Maven / Gradle / Ivy
package com.firefly.template;
import java.util.HashMap;
import java.util.Map;
public class FunctionRegistry {
private static final Map MAP = new HashMap();
public static void add(String name, Function function) {
MAP.put(name, function);
}
public static Function get(String name) {
return MAP.get(name);
}
}