Code example for BitSet

Methods: clear

0
    /** 
     * Set all bit to false. 
     */ 
    public void clear() 
    { 
        bs_.clear();
    } 
 
    /** 
     * Check the all bits are zero or not. 
     * 
     * @return true when all bits are zero, or false. 
     */ 
    public boolean isAllZero() 
    { 
        return bs_.isEmpty();
    } 
     
}