Code example for BitSet

Methods: clone

0
     * @param changedGroups A Set of Integers with groupID's specifying which group(s) are now selected. 
     */ 
    public GroupSelectionEvent(Object source, IVennDataModel dataModel, BitSet changedGroups) {
        super(source);
        this.dataModel = dataModel;
        this.changedGroups = (BitSet)changedGroups.clone();
    } 
     
    public IVennDataModel getDataModel() 
    { 
        return dataModel;
    } 
     
    public BitSet getGroupSelection()
    { 
        return changedGroups;
    } 
 
}