Search in sources :

Example 1 with ParamMap

use of main.content.values.parameters.ParamMap in project Eidolons by IDemiurge.

the class DataModel method cloneParamMap.

protected ParamMap cloneParamMap(Map<PARAMETER, String> map) {
    ParamMap clone = new ParamMap();
    Map<PARAMETER, String> innerMap = new HashMap<>();
    innerMap.putAll(map);
    clone.setMap(innerMap);
    return clone;
}
Also used : ParamMap(main.content.values.parameters.ParamMap) HashMap(java.util.HashMap) ConcurrentHashMap(java.util.concurrent.ConcurrentHashMap) PARAMETER(main.content.values.parameters.PARAMETER)

Aggregations

HashMap (java.util.HashMap)1 ConcurrentHashMap (java.util.concurrent.ConcurrentHashMap)1 PARAMETER (main.content.values.parameters.PARAMETER)1 ParamMap (main.content.values.parameters.ParamMap)1