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

as.leap.code.LASClassManagerFactory Maven / Gradle / Ivy

The newest version!
package as.leap.code;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * stream
 */
public final class LASClassManagerFactory {

  private static Map, LASClassManager> managerMap = new ConcurrentHashMap, LASClassManager>();

  public static  void putManager(Class clazz, LASClassManager entityManager) {
    managerMap.put(clazz, entityManager);
  }

  public static  LASClassManager getManager(Class clazz) {
    return (LASClassManager)managerMap.get(clazz);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy