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

org.openlca.ipc.Cache Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
package org.openlca.ipc;

import java.util.HashMap;

public class Cache {

	private final HashMap cache = new HashMap<>();

	public Object get(String id) {
		return cache.get(id);
	}

	public void put(String id, Object obj) {
		cache.put(id, obj);
	}

	public Object remove(String id) {
		return cache.remove(id);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy