code: public boolean add(int i) {
        boolean wasSet = bitSet.get(i);
        if (!wasSet) {
           bitSet.set(i);
           return true;
        }
        return false;
     }
docs: Add an integer to the set without boxing the parameter.