/** * Return a new FixedSizeBitVector as the OR of two others * * @throws IllegalArgumentException if b2 == null */ public static OffsetBitVector or(OffsetBitVector b1, OffsetBitVector b2) throws IllegalArgumentException { if (b2 == null) { throw new IllegalArgumentException("b2 == null"); } OffsetBitVector b = new OffsetBitVector(b1); b.or(b2); return b; }
/** * Return a new FixedSizeBitVector as the OR of two others * * @throws IllegalArgumentException if b2 == null */ public static OffsetBitVector or(OffsetBitVector b1, OffsetBitVector b2) throws IllegalArgumentException { if (b2 == null) { throw new IllegalArgumentException("b2 == null"); } OffsetBitVector b = new OffsetBitVector(b1); b.or(b2); return b; }
/** * Return a new FixedSizeBitVector as the OR of two others * * @throws IllegalArgumentException if b2 == null */ public static OffsetBitVector or(OffsetBitVector b1, OffsetBitVector b2) throws IllegalArgumentException { if (b2 == null) { throw new IllegalArgumentException("b2 == null"); } OffsetBitVector b = new OffsetBitVector(b1); b.or(b2); return b; }
int oldSize = size(); densePart.or(that.densePart);
int oldSize = size(); densePart.or(that.densePart);
int oldSize = size(); densePart.or(that.densePart);