jankotek / mapdb

MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
https://mapdb.org
Apache License 2.0
4.89k stars 873 forks source link

BTreeMap does not implement SortedMap #924

Closed jtnord closed 5 years ago

jtnord commented 5 years ago

Noticed when migrating from the ancinet 1.0.9 to 3.0.7 that the Map returned from treeMap() (BTreeMap) does not implement SortedMap despite the fact it is sorted according to its javadoc.

jankotek commented 5 years ago

It does, it implements ConcurrentNavigableMap interface, it extends SortedMap