org.uqbar.commons.utils.Storage Maven / Gradle / Ivy
package org.uqbar.commons.utils;
import java.util.Collection;
import java.util.List;
import org.apache.commons.collections.Predicate;
public interface Storage {
public void add(Class type, T object);
public void remove(Class type, T object);
public List getObjects(Class type);
public Collection getObjects(Class type, Predicate predicate);
}