static UnionImpl fastWrap ( final WritableMemory srcMem , final long seed ) { Family . UNION . checkFamilyID ( extractFamilyID ( srcMem ) ) ; final UpdateSketch gadget = DirectQuickSelectSketch . fastWritableWrap ( srcMem , seed ) ; final UnionImpl unionImpl = new UnionImpl ( gadget , seed ) ; unionImpl . unionThetaLong_ = extractUnionThetaLong ( srcMem ) ; unionImpl . unionEmpty_ = PreambleUtil . isEmpty ( srcMem ) ; return unionImpl ; }
Fast - wrap a Union object around a Union Memory object containing data . This does NO validity checking of the given Memory .