Code example for BitSet

Methods: clearor

0
     * The delta domain container is "frozen" (it can no longer accept new value removals) 
     * so that this set of values can be iterated as such² 
     */ 
    @Override 
    public void freeze() { 
        removedValuesToPropagate.clear();
        removedValuesToPropagate.or(removedValues);
    } 
 
    /** 
     * Update the delta domain 
     * 
     * @param value removed 
     */ 
    @Override 
    public void remove(final int value) {
        removedValues.set(value-offset);
    } 
 
    /** 
Stop searching for code, let great code find you!  Add Codota to your java IDE