Skip to content

Releases: leventov/Koloboke

Koloboke 0.6.1

30 Sep 23:02

Choose a tag to compare

  • 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

15 Aug 22:04

Choose a tag to compare

  • Renamed the project to Koloboke
  • Moved all public API from net.openhft to net.openhft.koloboke package

API changes:

  • Equivalence.defaultEquality() now instead of null, i. e. Equivalence made non-null. It was nullable only for implementation convenience, actually.
  • Extracted ContainerFactory and generified the whole factory hierarchy. Downside: *ObjMapFactory.withValueEquivalence(), HashObj*MapFactory.withKeyEquivalence() and HashObjSetFactory.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() and newUpdatableSet(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 accept net.openhft.function.Consumer<java.util.function.**Consumer>, now they accept java.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, because net.openhft.koloboke.function.Consumer<net.openhft.koloboke.function.**Consumer> extends java.util.function.Consumer<net.openhft.koloboke.function.**Consumer>, but net.openhft.function.Consumer<net.openhft.function.**Consumer> doesn't extend net.openhft.function.Consumer<java.util.function.**Consumer>, because generic parameters are different.
  • Added UnaryOperator and BinaryOperator functional interfaces for completeness and correspondence to java.util.function package.
  • Now CharBinaryOperator extends CharCharToCharFunction, like BinaryOperator extends BiFunction.

API Javadocs:

Download binaries:

HFTC 0.5.1

30 Jul 23:52

Choose a tag to compare

  • Fixed an awful bug in implementations of hash sets and maps rehash() method. The previous release was completely broken.

API Javadocs:

Download binaries:

HFTC 0.5

30 Jul 23:49

Choose a tag to compare

  • Initial release