0.0.4 "It Takes Two"
This release mostly adds useful addAll()
methods to all maps here, as well as constructors that call those addAll()
methods at the start. These all take keys and values as side-by-side arrays or Collections (these can be PrimitiveCollection types, like LongList, for primitive-backed keys or values), and insert paired keys and values until either the keys or values are exhausted. This matches one of the useful features of fastutil, and should make it easier to implement "Maker" methods like SquidLib has. There's now an IdentityObjectMap (and its Ordered counterpart), using ==
comparison and System.identityHashCode()
. ObjectList now reuses its iterator by default, matching libGDX's Array, and the primitive-backed collections like IntList, much more closely. BitConversion has a super-sourced lowestOneBit()
that behaves correctly on GWT for long
inputs (Long.lowestOneBit()
does not give accurate results for many inputs on GWT, but fixing that is easy here). It's not a huge release, but it should come in handy.