org.fugerit.java.dsb.attributes.impl.ServiceMapDefault Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-service-base Show documentation
Show all versions of data-service-base Show documentation
Simple data resources load/save interface layer.
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