code: public boolean remove(int i) {
        boolean wasSet = bitSet.get(i);
        if (wasSet) {
           bitSet.clear(i);
           return true;
        }
        return false;
     }
docs: Remove an integer from the set without boxing.