public class IntegratedIntCompressor extends Object
Constructor and Description |
---|
IntegratedIntCompressor()
Constructor with default codec.
|
IntegratedIntCompressor(SkippableIntegratedIntegerCODEC c)
Constructor wrapping a codec.
|
Modifier and Type | Method and Description |
---|---|
int[] |
compress(int[] input)
Compress an array and returns the compressed result as a new array.
|
int[] |
uncompress(int[] compressed)
Uncompress an array and returns the uncompressed result as a new array.
|
public IntegratedIntCompressor(SkippableIntegratedIntegerCODEC c)
c
- the underlying codecpublic IntegratedIntCompressor()
public int[] compress(int[] input)
input
- array to be compressedUncompressibleInputException
- if the data is too poorly compressiblepublic int[] uncompress(int[] compressed)
compressed
- compressed arrayCopyright © 2017. All Rights Reserved.