public Map<S, V> exportToMap() {
        Map<S, V> map = new HashMap<>();
        S[] settings = this.factory.settings;
        for (int i = 0; i < settings.length; i++) {
            S setting = settings[i];
            int stateOrdinal = Byte.toUnsignedInt(this.states[i]);
            map.put(setting, this.factory.states[stateOrdinal]);
        }
        return map;
    }
Exports this {@link SettingMap} as a {@link Map}.

@return a map
helper/src/main/java/me/lucko/helper/setting/SettingMap.java