Hi , NavigableSet.headSet with inclusive 'true' is not working, also tailSet with inclusive 'false' not working too. has anyone else experience this. I'm using latest version of mapdb 3.0.8
to explain further , NavigableSet.headSet with inclusive 'true' not including the equal value in the result set.
NavigableSet. tailSet with inclusive 'false' including the equal value in the result set
Jan Kotek @jankotek 12:57
@nuwansa it should work, there are unit tests for this case. Maybe you are using some exotic data type where 'equal' is not correctly handled? what is your serializer and config?
Nuwan Sanjeewa Abeysiriwardana @nuwansa 13:11
@jankotek this is the initialization code
this.db
.treeSet("map")
.serializer(new SerializerArrayTuple(Serializer.BIG_DECIMAL, Serializer.LONG))
.counterEnable()
.createOrOpen();
Hi , NavigableSet.headSet with inclusive 'true' is not working, also tailSet with inclusive 'false' not working too. has anyone else experience this. I'm using latest version of mapdb 3.0.8 to explain further , NavigableSet.headSet with inclusive 'true' not including the equal value in the result set. NavigableSet. tailSet with inclusive 'false' including the equal value in the result set
Jan Kotek @jankotek 12:57 @nuwansa it should work, there are unit tests for this case. Maybe you are using some exotic data type where 'equal' is not correctly handled? what is your serializer and config?
Nuwan Sanjeewa Abeysiriwardana @nuwansa 13:11 @jankotek this is the initialization code this.db .treeSet("map") .serializer(new SerializerArrayTuple(Serializer.BIG_DECIMAL, Serializer.LONG)) .counterEnable() .createOrOpen();