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

org.fugerit.java.dsb.attributes.impl.ServiceMapDefault Maven / Gradle / Ivy

There is a newer version: 1.4.4
Show newest version
package org.fugerit.java.dsb.attributes.impl;

import org.fugerit.java.dsb.attributes.ServiceMap;

import java.util.HashMap;
import java.util.Map;

public class ServiceMapDefault implements ServiceMap {

    private Map map;
    public ServiceMapDefault() {
        this.map = new HashMap<>();
    }

    @Override
    public V get(K key) {
        return this.map.get( key );
    }

    @Override
    public void set(K key, V value ) {
        this.map.put( key, value );
    }

    @Override
    public void remove(K key) {
        this.map.remove( key );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy