Interface IDataStore<K,V>
- Type Parameters:
K- Type of the keys.V- Type of the values.
public interface IDataStore<K,V>
Similar to
Map, but with a more limited set of operations. This interface is used to provide a view
of a data store that is not necessarily a map. The data store may be a map, but it may also be a list, a set, or any
other data structure.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceLike aSupplierfor aIDataStore, but with the correct type parameters. -
Method Summary
-
Method Details
-
contains
Check if the data store contains a value for the given key.- Parameters:
key- The key.- Returns:
- True if the key is present.
-
get
-
put
-
remove
-