I'm programming in Android Studio. I'm using the mapDB, 2.0-beta8 version. I have created my own class SingleCase, I also defined a static variable:
static ConcurrentNavigableMap<String, SingleCase > map;
after initialize the data base:
db = DBMaker.fileDB(newFile(dbName)).closeOnJvmShutdown().encryptionEnable(dbName).make();
I tried to load to my map variable from data base by using that code:
map = db.getTreeMap("collectionName");
Unfortunately it fails, and alerts that 'getTreeMap(java.lang.String)' is deprecated.
what other function can I use instead?