public boolean toggle(S setting) {
        this.bits.flip(setting.ordinal());
        return get(setting);
    }
Toggles the state of a setting.

@param setting the setting
@return the new state
helper/src/main/java/me/lucko/helper/setting/BooleanSettingMap.java