Code example for BitSet

Methods: clear

0
        return ret;
         
    } 
 
    public void clear() { 
        bs.clear();
        super.clear(); 
    } 
 
    public int set(int index, int elem) {
 
        bs.set(get(index), true);
        bs.set(elem);
        return super.set(index, elem);
         
    } 
 
}