public boolean orAndAndNot(SharedBitSet orset, SharedBitSet andset, SharedBitSet andnotset) { acquire(); boolean ret = value.orAndAndNot(orset.value, andset.value, andnotset.value); canonicalize(); return ret; }
public String toString() { StringBuffer b = new StringBuffer(); for (BitSetIterator it = iterator(); it.hasNext();) { b.append(it.next()); b.append(","); } return b.toString(); } }
public void and(SharedBitSet other) { if (own) { value.and(other.value); } else { value = BitVector.and(value, other.value); own = true; } canonicalize(); }
public boolean set(int bit) { acquire(); return value.set(bit); }
public void or(SharedBitSet other) { if (own) { value.or(other.value); } else { value = BitVector.or(value, other.value); own = true; } canonicalize(); }
public void clear(int bit) { acquire(); value.clear(bit); }
public boolean orAndAndNot(SharedBitSet orset, BitVector andset, SharedBitSet andnotset) { acquire(); boolean ret = value.orAndAndNot(orset.value, andset, andnotset == null ? null : andnotset.value); canonicalize(); return ret; }
public void or( SharedBitSet other ) { if( own ) { value.or( other.value ); } else { value = BitVector.or( value, other.value ); own = true; } canonicalize(); } public boolean orAndAndNot( SharedBitSet orset, SharedBitSet andset, SharedBitSet andnotset ) {
public void clear(int bit) { acquire(); value.clear(bit); } public boolean get(int bit) {
public String toString() { StringBuffer b = new StringBuffer(); for( BitSetIterator it = iterator(); it.hasNext(); ) { b.append( it.next() ); b.append( "," ); } return b.toString(); } }
public boolean orAndAndNot( SharedBitSet orset, BitVector andset, SharedBitSet andnotset ) { acquire(); boolean ret = value.orAndAndNot( orset.value, andset, andnotset == null ? null : andnotset.value ); canonicalize(); return ret; } public BitSetIterator iterator() {
public void and( SharedBitSet other ) { if( own ) { value.and( other.value ); } else { value = BitVector.and( value, other.value ); own = true; } canonicalize(); } public void or( SharedBitSet other ) {
public boolean set(int bit) { acquire(); return value.set(bit); } public void clear(int bit) {
public String toString() { StringBuffer b = new StringBuffer(); for( BitSetIterator it = iterator(); it.hasNext(); ) { b.append( it.next() ); b.append( "," ); } return b.toString(); } }
public boolean orAndAndNot( SharedBitSet orset, SharedBitSet andset, SharedBitSet andnotset ) { acquire(); boolean ret = value.orAndAndNot( orset.value, andset.value, andnotset.value ); canonicalize(); return ret; } public boolean orAndAndNot( SharedBitSet orset, BitVector andset, SharedBitSet andnotset ) {
public void or( SharedBitSet other ) { if( own ) { value.or( other.value ); } else { value = BitVector.or( value, other.value ); own = true; } canonicalize(); } public boolean orAndAndNot( SharedBitSet orset, SharedBitSet andset, SharedBitSet andnotset ) {
public boolean set(int bit) { acquire(); return value.set(bit); } public void clear(int bit) {
public boolean orAndAndNot( SharedBitSet orset, SharedBitSet andset, SharedBitSet andnotset ) { acquire(); boolean ret = value.orAndAndNot( orset.value, andset.value, andnotset.value ); canonicalize(); return ret; } public boolean orAndAndNot( SharedBitSet orset, BitVector andset, SharedBitSet andnotset ) {
public void and( SharedBitSet other ) { if( own ) { value.and( other.value ); } else { value = BitVector.and( value, other.value ); own = true; } canonicalize(); } public void or( SharedBitSet other ) {
public void clear(int bit) { acquire(); value.clear(bit); } public boolean get(int bit) {