@Override public IntSet subtract(IntSet a) { if (a == null || !(a instanceof BitSet)) return null; BitSet s = (BitSet)this.clone(); s.subtractInPlace((BitSet)a); return s; }
public IntSet complement() { BitSet s = (BitSet)this.clone(); s.notInPlace(); return s; }
/** return this | a in a new set */ @Override public IntSet or(IntSet a) { if ( a==null ) { return this; } BitSet s = (BitSet)this.clone(); s.orInPlace((BitSet)a); return s; }
public IntSet complement() { BitSet s = (BitSet)this.clone(); s.notInPlace(); return s; }
@Override public IntSet subtract(IntSet a) { if (a == null || !(a instanceof BitSet)) return null; BitSet s = (BitSet)this.clone(); s.subtractInPlace((BitSet)a); return s; }
@Override public IntSet and(IntSet a) { BitSet s = (BitSet)this.clone(); s.andInPlace((BitSet)a); return s; }
public IntSet and(IntSet a) { BitSet s = (BitSet)this.clone(); s.andInPlace((BitSet)a); return s; }
/** return this | a in a new set */ public IntSet or(IntSet a) { if ( a==null ) { return this; } BitSet s = (BitSet)this.clone(); s.orInPlace((BitSet)a); return s; }
public IntSet and(IntSet a) { BitSet s = (BitSet)this.clone(); s.andInPlace((BitSet)a); return s; }
public IntSet complement() { BitSet s = (BitSet)this.clone(); s.notInPlace(); return s; }
public IntSet complement() { BitSet s = (BitSet)this.clone(); s.notInPlace(); return s; }
public IntSet subtract(IntSet a) { if (a == null || !(a instanceof BitSet)) return null; BitSet s = (BitSet)this.clone(); s.subtractInPlace((BitSet)a); return s; }
@Override public IntSet and(IntSet a) { BitSet s = (BitSet)this.clone(); s.andInPlace((BitSet)a); return s; }
/** return this | a in a new set */ @Override public IntSet or(IntSet a) { if ( a==null ) { return this; } BitSet s = (BitSet)this.clone(); s.orInPlace((BitSet)a); return s; }
/** return this | a in a new set */ public IntSet or(IntSet a) { if ( a==null ) { return this; } BitSet s = (BitSet)this.clone(); s.orInPlace((BitSet)a); return s; }
public IntSet subtract(IntSet a) { if (a == null || !(a instanceof BitSet)) return null; BitSet s = (BitSet)this.clone(); s.subtractInPlace((BitSet)a); return s; }