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

io.nosqlbench.nb.api.config.params.MapBackedElement Maven / Gradle / Ivy

There is a newer version: 4.15.102
Show newest version
package io.nosqlbench.nb.api.config.params;

import java.util.Map;
import java.util.Set;

public class MapBackedElement implements ElementData {

    private final Map map;

    public MapBackedElement(Map map) {
        this.map = map;
    }

    @Override
    public Object get(String name) {
        return map.get(name);
    }

    @Override
    public Set getKeys() {
        return map.keySet();
    }

    @Override
    public boolean containsKey(String name) {
        return map.containsKey(name);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy