All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.descoped.dc.api.ConfigurationMap Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package io.descoped.dc.api;

import java.util.Map;

public class ConfigurationMap {

    private final Map configMap;

    public ConfigurationMap(Map configMap) {
        this.configMap = configMap;
    }

    public boolean contains(String key) {
        return configMap.containsKey(key);
    }

    public String get(String key) {
        return configMap.get(key);
    }

    public Map asMap() {
        return configMap;
    }

    public void put(String key, String value) {
        configMap.put(key, value);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy