public void union ( final HLL other ) { // TODO: verify HLLs are compatible final HLLType otherType = other . getType ( ) ; if ( type . equals ( otherType ) ) { homogeneousUnion ( other ) ; return ; } else { heterogenousUnion ( other ) ; return ; } }
Computes the union of HLLs and stores the result in this instance .