Releases: leventov/Koloboke
Releases · leventov/Koloboke
Koloboke 0.6.1
- Fixed an awful bug, Hash sets and maps with object keys were broken in all previous releases. Thanks to Mikhail Vorontsov for spotting this bug.
No API changes.
API Javadocs:
Download binaries:
Koloboke 0.6
- Renamed the project to Koloboke
- Moved all public API from
net.openhfttonet.openhft.kolobokepackage
API changes:
Equivalence.defaultEquality()now instead ofnull, i. e.Equivalencemade non-null. It was nullable only for implementation convenience, actually.- Extracted
ContainerFactoryand generified the whole factory hierarchy. Downside:*ObjMapFactory.withValueEquivalence(),HashObj*MapFactory.withKeyEquivalence()andHashObjSetFactory.withEquivalence()methods now don't allow to change value (key, elem) type of the factory. In real use it leads to the necessity of explicit generic type params of methods during factory configuration, due to poor Java generic type inference. Also,*Maps.getDefaultFactory()methods are generified. - Added
Hash**Maps.newUpdatableMap(),newUpdatableMap(int expectedSize),Hash*Sets.newUpdatableSet()andnewUpdatableSet(int expectedSize)methods. Nothing had prevent them from being added earlier, they were just forgotten. - In version for Java 8, changed all container factory methods which accept callback consumer, for example,
HashByteByteMapFactory.newImmutableMap(entriesSupplier). These methods used to acceptnet.openhft.function.Consumer<java.util.function.**Consumer>, now they acceptjava.util.function.Consumer<net.openhft.koloboke.function.**Consumer>. The new scheme shouldn't break the code on moving from the API for Java 6 or 7 to the API for Java 8, unlike the previous, becausenet.openhft.koloboke.function.Consumer<net.openhft.koloboke.function.**Consumer>extendsjava.util.function.Consumer<net.openhft.koloboke.function.**Consumer>, butnet.openhft.function.Consumer<net.openhft.function.**Consumer>doesn't extendnet.openhft.function.Consumer<java.util.function.**Consumer>, because generic parameters are different. - Added
UnaryOperatorandBinaryOperatorfunctional interfaces for completeness and correspondence tojava.util.functionpackage. - Now
CharBinaryOperatorextendsCharCharToCharFunction, likeBinaryOperatorextendsBiFunction.
API Javadocs:
Download binaries:
HFTC 0.5.1
- Fixed an awful bug in implementations of hash sets and maps rehash() method. The previous release was completely broken.
API Javadocs:
Download binaries: