I have a Map<enum_type, Map<String, my_class>> where the value Map<String, my_class> of any entry I add keeps resetting to a new HashMap.
The DB is created this way:
var db = DBMaker.fileDB(db_path).transactionEnable().make();
whereas the map itself is created this way:
Map<enum_type, Map<String, my_class>> my_map = (Map<enum_type, Map<String, my_class>>) db.hashMap(name).createOrOpen();
What could be the cause of this issue?
I have a
Map<enum_type, Map<String, my_class>>where the valueMap<String, my_class>of any entry I add keeps resetting to a new HashMap.The DB is created this way:
var db = DBMaker.fileDB(db_path).transactionEnable().make();whereas the map itself is created this way:
Map<enum_type, Map<String, my_class>> my_map = (Map<enum_type, Map<String, my_class>>) db.hashMap(name).createOrOpen();What could be the cause of this issue?