All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy