Skip to content

0.1.0 "Making a List"

Compare
Choose a tag to compare
@tommyettinger tommyettinger released this 03 Apr 05:17
· 934 commits to master since this release

This release is another fairly large one; it adds all the necessary interfaces (including more primitive FunctionalInterface types) to complete the primitive-backed lists. This means we have a ByteList, ShortList, CharList, DoubleList, and BooleanList now, all implementing some form of Ordered and with largely the same functionality as the existing IntList, LongList, and FloatList. The previous release had IntToIntFunction, which apparently exists in the JDK as IntBinaryOperator for some reason (hooray for inconsistent naming schemes; now it isn't just libGDX doing it!). That and LongToLongFunction are now replaced with the corresponding JDK BinaryOperator. EnhancedRandom now allows implementations to specify how many states can be get and set with getSelectedState() and setSelectedState(). A bug was fixed at about the same it was discovered in libGDX, affecting IntObjectMap (and IntObjectOrderedMap here), a rare one that could happen during repeated removal and re-insertion of the key 0 via an iterator. Lastly, all usage of java.io.Serializable is gone; it's too much of a problem to support in new code, and there are better alternatives. The new primitive lists should make their way into jdkgdxds_interop soon.