Package com.yahoo.compress
Class IntegerCompressor
java.lang.Object
com.yahoo.compress.IntegerCompressor
Utility for bytewise compressing of integers into a ByteBuffer.
- Author:
- baldersheim
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerCompressor.Mode
compressionMode
(int min, int max) static void
putCompressedNumber
(int n, ByteBuffer buf) static void
putCompressedPositiveNumber
(int n, ByteBuffer buf)
-
Constructor Details
-
IntegerCompressor
public IntegerCompressor()
-
-
Method Details
-
compressionMode
-
putCompressedNumber
-
putCompressedPositiveNumber
-