Code example for BitSet

Methods: clone

     * @param changedGroups A Set of Integers with groupID's specifying which group(s) are now selected. 
    public GroupSelectionEvent(Object source, IVennDataModel dataModel, BitSet changedGroups) {
        this.dataModel = dataModel;
        this.changedGroups = (BitSet)changedGroups.clone();
    public IVennDataModel getDataModel() 
        return dataModel;
    public BitSet getGroupSelection()
        return changedGroups;
Connect your IDE to all the code out there  Get Codota for Java