public class MapBackedRepository<K,V extends Identifiable<K>> extends java.lang.Object
MapBackedRepository()
void
add(V model)
delete(K key)
boolean
exists(K key)
V
first()
get(K key)
java.util.List<V>
where(com.google.common.base.Predicate<V> criteria)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MapBackedRepository()
public void delete(K key)
public boolean exists(K key)
public void add(V model)
public V get(K key)
public V first()
public java.util.List<V> where(com.google.common.base.Predicate<V> criteria)