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

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

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

import java.util.List;
import java.util.Map;

public class MapBackedConfigSource implements ConfigSource {

    @Override
    public boolean canRead(Object source) {
        return (source instanceof Map);
    }

    @Override
    public List getAll(Object source) {
        return List.of(new MapBackedElement((Map) source));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy