as Key Values Repo
Wraps this KeyValueRepo (mapping keys to iterables) as a KeyValuesFromKeyValueRepo, exposing a full one-to-many read-write interface.
Return
KeyValuesFromKeyValueRepo delegating to this repo
Parameters
Type Parameters
The type of keys
The type of individual values within each iterable
The iterable type storing multiple values per key
Wraps this KeyValueRepo (mapping keys to Lists) as a KeyValuesFromKeyValueRepo. Uses identity conversion for the list iterable.
Return
KeyValuesFromKeyValueRepo delegating to this repo with List as the iterable type
Type Parameters
The type of keys
The type of individual values
Wraps this KeyValueRepo (mapping keys to Sets) as a KeyValuesFromKeyValueRepo. Converts lists to sets when persisting changes, ensuring value uniqueness per key.
Return
KeyValuesFromKeyValueRepo delegating to this repo with Set as the iterable type
Type Parameters
The type of keys
The type of individual values