TMultiMapBase<TKey,TValue>.ExtractValues(TKey) Method

Extracts all values for the given key from the multimap.

Namespace: Spring.Collections.MultiMaps
public
 function ExtractValues(const key: TKey): IList<TValue>;

Parameters

key
Type: TKey

Return Value

Type: IList<TValue>

 

Implements

IMultiMap<TKey,TValue>.ExtractValues(TKey)

If the multimap has doOwnsValues set the items in the returned list are not being owned by the list but have to be freed manually or being passed to a collection that takes ownership.