Search in sources :

Example 1 with PropMap

use of main.content.values.properties.PropMap in project Eidolons by IDemiurge.

the class DataModel method clonePropMap.

protected PropMap clonePropMap(Map<PROPERTY, String> map) {
    PropMap clone = new PropMap();
    Map<PROPERTY, String> innerMap = new ConcurrentHashMap<>();
    innerMap.putAll(map);
    clone.setMap(innerMap);
    return clone;
}
Also used : PropMap(main.content.values.properties.PropMap) PROPERTY(main.content.values.properties.PROPERTY) ConcurrentHashMap(java.util.concurrent.ConcurrentHashMap)

Aggregations

ConcurrentHashMap (java.util.concurrent.ConcurrentHashMap)1 PROPERTY (main.content.values.properties.PROPERTY)1 PropMap (main.content.values.properties.PropMap)1