package com.hammurapi.store;

/**
 * Unique index.
 * @author Pavel Vlasov
 *
 * @param <T>
 * @param <PK>
 */
public interface UniqueIndex<ST, T extends ST, PK, V, S extends Store<ST,PK,S>> extends Index<ST, T, PK, V, S> {

	/**
	 * Finds object by index value.
	 * @param value
	 * @return
	 */
	T find(V value);
}
