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

com.maxleap.code.LASClassManagerFactory Maven / Gradle / Ivy

There is a newer version: 2.4.9
Show newest version
package com.maxleap.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