1.1.0 "Merry JDKGDX-Mas!"
Christmas came early, it looks like, with... what could be a disappointing stuffing for your stocking. Unless you like niche features, that is, or bit sets (which are also a niche feature). On the plus side, there's a few potential bugs squashed here, so there's no reason to avoid an update. Some important things to note:
- OffsetBitSet is new; it acts like a primitive collection of ints, but starts counting at a specified offset (which can be negative, but defaults to 0). It only uses one bit per int it stores, but also requires one bit for every int in the range it doesn't store. For dense int sets with a known range, it makes sense.
- There have been numerous improvements to iterators and other less-often-considered parts of sets and maps.
- You can get the remaining items from an iterator appended into a Collection (or PrimitiveCollection) of the appropriate type using
appendInto()
. - You can also get those remaining items as a new list with
toList()
. - You can always set the position of a map or set iterator, using
reset()
, or one of its inner Keys, Values, or Entries data structures, usingresetIterator()
.
- You can get the remaining items from an iterator appended into a Collection (or PrimitiveCollection) of the appropriate type using
- There's various improvements to toString() and appendTo(), which appends from a set to a StringBuilder.
- The dependency on digital is now 0.1.5; the suggested (but not necessary) dependency on juniper is 0.1.7 or higher.
This is mostly release 1.1.0, suggesting it is more major, because I should have given the previous release a more "major" version number, but didn't. This is actually a fairly minor update compared to some earlier releases, since it mostly fills in missing functionality without changing much.