static UnionImpl initNewHeapInstance ( final int lgNomLongs , final long seed , final float p , final ResizeFactor rf ) { final UpdateSketch gadget = new HeapQuickSelectSketch ( lgNomLongs , seed , p , rf , true ) ; //create with UNION family final UnionImpl unionImpl = new UnionImpl ( gadget , seed ) ; unionImpl . unionThetaLong_ = gadget . getThetaLong ( ) ; unionImpl . unionEmpty_ = gadget . isEmpty ( ) ; return unionImpl ; }
Construct a new Union SetOperation on the java heap . Called by SetOperationBuilder .