Search code examples
javamapdb

MapDB list type?


I am using mapdb 3.0.7

I see various hash map and tree map storage types here.

But I have a use case that needs a List<String> to be persisted to mapdb.

Does this version of mapDB even support this?


Solution

  • MapDB does have a HashSet object which seems like all we have to work with.

    See http://www.mapdb.org/javadoc/latest/mapdb/org/mapdb/DB.HashSetMaker.html

    I don't think there is any List data structure in mapdb 3.x