Skip to content

0.2.2 "Order From Chaos"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 30 Oct 02:42
· 803 commits to master since this release

This release fixes one bug in the just-added Base class, but it was a bug that made Base significantly less useful, so here's a small fix release. Specifically, when a base was requested to be case-insensitive, it would effectively be ignored in the last release, and will be correctly case-insensitive in this release. The notes from the previous release, 0.2.1, still apply:

This release mostly improves the random number generators; it adds StrangerRandom and Xoshiro256StarStarRandom, and fixes the nextInt(int, int) and nextSignedInt(int, int) methods (only the two-argument ones were broken, and only for some arguments). It adds a nice natural-text sort in NaturalTextComparator, using mostly this code as a basis. It also adds the Base class for numeral/base systems, which generalizes code that deals with decimal, binary, hexadecimal, base-64, and all sorts of other radices. I hope this is useful!