private static final long serialVersionUID = 1L;
private Map<String, Map<String, Serializable>> dictionary =
- new HashMap<String, Map<String, Serializable>>();
+ new HashMap<>();
/**
* Returns true if the specified type is stored in this object.
*/
public void put(String type, String key, String value) {
Map<String, Serializable> mapForType = dictionary
- .computeIfAbsent(type, k -> new HashMap<String, Serializable>());
+ .computeIfAbsent(type, k -> new HashMap<>());
mapForType.put(key, value);
}