/** Add all bits in BitVector B to this bit set */ public void addAll(BitVector B) { vector.or(B); }
/** * Add all elements in bitset B to this bit set * * @throws IllegalArgumentException if B is null */ public void addAll(BitSet<?> B) { if (B == null) { throw new IllegalArgumentException("B is null"); } vector.or(B.vector); }