Peter Burka

Results 4 comments of Peter Burka

Agreed. Without the NavigableMap interface it's not of much use to me. I'll see if I can make some progress on that.

I started working on this today by prototyping a NavigableSet template for fastutil. I ran into one complication: a number of NavigableSet methods can return null to indicate absence (e.g....

I've prototyped NavigableSet, NavigableMap, and some helpers in NavigableSets in a fork of the repository at https://github.com/pburka/fastutil/tree/master/ I chose to append 'OrDefault' to each of the APIs which could return...

I'm not sold on throwing `NoSuchElementException`. First, it's inconsistent with the object versions, which return null. Secondly, it's inefficient. Either you need to probe the map twice (once to check...