From f0b3750f19988add288eaf9d41304abc3cabbf38 Mon Sep 17 00:00:00 2001 From: Raphael Lemaitre Date: Tue, 9 Aug 2016 11:29:37 +0200 Subject: [PATCH 1/2] Fix HTML in javadoc for java 8 --- src/main/java/net/agkn/hll/HLL.java | 15 ++++++++------- .../BigEndianAscendingWordSerializer.java | 6 +++--- .../agkn/hll/serialization/IWordDeserializer.java | 4 ++-- .../agkn/hll/serialization/SerializationUtil.java | 6 +++--- src/main/java/net/agkn/hll/util/BitVector.java | 6 ++++-- src/main/java/net/agkn/hll/util/HLLUtil.java | 8 ++++---- 6 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/main/java/net/agkn/hll/HLL.java b/src/main/java/net/agkn/hll/HLL.java index cdfd3ad..6d8d9e7 100644 --- a/src/main/java/net/agkn/hll/HLL.java +++ b/src/main/java/net/agkn/hll/HLL.java @@ -16,6 +16,7 @@ * limitations under the License. */ +import java.io.Serializable; import java.util.Arrays; import it.unimi.dsi.fastutil.ints.Int2ByteOpenHashMap; @@ -34,12 +35,12 @@ /** * A probabilistic set of hashed long elements. Useful for computing - * the approximate cardinality of a stream of data in very small storage.

+ * the approximate cardinality of a stream of data in very small storage. * * A modified version of the * 'HyperLogLog' data structure and algorithm is used, which combines both * probabilistic and non-probabilistic techniques to improve the accuracy and - * storage requirements of the original algorithm.

+ * storage requirements of the original algorithm. * * More specifically, initializing and storing a new {@link HLL} will * allocate a sentinel value symbolizing the empty set ({@link HLLType#EMPTY}). @@ -48,7 +49,7 @@ * be sacrificed for memory footprint: the values in the sorted list are * "promoted" to a "{@link HLLType#SPARSE}" map-based HyperLogLog structure. * Finally, when enough registers are set, the map-based HLL will be converted - * to a bit-packed "{@link HLLType#FULL}" HyperLogLog structure.

+ * to a bit-packed "{@link HLLType#FULL}" HyperLogLog structure. * * This data structure is interoperable with the implementations found at: *