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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy