static CpcSketch uncompress ( final CompressedState source , final long seed ) { checkSeedHashes ( computeSeedHash ( seed ) , source . seedHash ) ; final CpcSketch sketch = new CpcSketch ( source . lgK , seed ) ; sketch . numCoupons = source . numCoupons ; sketch . windowOffset = source . getWindowOffset ( ) ; sketch . fiCol = source . fiCol ; sketch . mergeFlag = source . mergeFlag ; sketch . kxp = source . kxp ; sketch . hipEstAccum = source . hipEstAccum ; sketch . slidingWindow = null ; sketch . pairTable = null ; CpcCompression . uncompress ( source , sketch ) ; return sketch ; }
also used in test