K- the key type of the index or the type of data that the collection is being indexed on. It must be a concretion of
V- the value type of the collection being indexed
public interface BlueIndex<K extends ValueKey,V extends java.io.Serializable>
BlueCollectionthat allows you to query for values faster based on specific data in those values. BlueDB extracts data from each value in the collection and creates a mapping from that data to the values that contain that data. Currently this only supports the retrieval of values using a specific index key, but could be extended in the future to provide more powerful index based queries.
java.util.List<V> get(K key) throws BlueDbException
key- a key that maps to the desired value(s)
BlueDbException- if any problems occur