com.coveo.nashorn_modules.ModuleCache Maven / Gradle / Ivy
package com.coveo.nashorn_modules;
import java.util.HashMap;
import java.util.Map;
public class ModuleCache {
private Map modules = new HashMap<>();
public Module get(String fullPath) {
return modules.get(fullPath);
}
public void put(String fullPath, Module module) {
modules.put(fullPath, module);
}
}