Skip to content

0.0.6 "Massive Functionality"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 21 Mar 04:49
· 944 commits to master since this release

This is a big release, bringing a lot of Java 8 default methods into the primitive-backed maps (and to a lesser extent, the lists and sets). If you wanted to call putIfAbsent(), replace(), merge(), or any number of other methods on a LongFloatOrderedMap (where typically you'd have to use an ObjectObjectOrderedMap to get access to them), well, now you can. This required defining a whole lot of functional interfaces, including some that were surprisingly omitted from the JDK, like one that takes an int and returns an int (IntToIntFunction). There's also code matching libGDX's uncommon support for the QuickSelect algorithm, which can be used with any Ordered data structure or primitive-backed subtype of Ordered. Just, in general, this was a big one.