示例#1
0
 /** Add all bits in BitVector B to this bit set */
 public void addAll(BitVector B) {
   vector.or(B);
 }
示例#2
0
 /**
  * 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);
 }