Code example for BitSet

Methods: get, set

0
        return !filter.get(groupID);
    } 
     
    public void setFiltered( int groupID, boolean val )
    { 
        if( filter.get(groupID) != val )
        { 
            filter.set( groupID, val );
             
            // notify listeners 
//            fireChangeEvent(); 
            notifyUser(); 
        } 
    } 
     
    public boolean getFiltered( int groupID )
    { 
        return filter.get( groupID );
    } 
 
    public void reset()