![JAR search and dependency download from the Maven repository](/logo.png)
com.coveo.nashorn_modules.ModuleCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nashorn-commonjs-modules Show documentation
Show all versions of nashorn-commonjs-modules Show documentation
CommonJS modules implementation for Nashorn
The newest version!
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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy