MVMAP descending order

36 views
Skip to first unread message

Tiago

unread,
Nov 24, 2021, 11:06:01 AM11/24/21
to H2 Database
Is there a way to have the keys in MVMap sorted in descending order? Or iterate the map starting at the end?

Thx

Andrei Tokar

unread,
Nov 24, 2021, 11:28:29 PM11/24/21
to H2 Database

MVMap is always constructed in ascending order, although it's possible to re-define what "ascending" means.
In the upcoming release, or if you build library yourself, there is a possibility to iterate MVMap in reverse order.
Reply all
Reply to author
Forward
0 new messages