Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
UMultiMap< TKey, TValue > Class Template Reference
Inheritance diagram for UMultiMap< TKey, TValue >:
UMapBase< TKey, TValue, MultiMapKeyFuncs< TKey, TValue > >

Public Member Functions

 UMultiMap ()
 
 UMultiMap (int capacity)
 
 UMultiMap (IEnumerable< KeyValuePair< TKey, TValue > > enumerable)
 
IEnumerable< TValue > MultiFind (TKey key)
 
bool TryAddUnique (TKey key, TValue value)
 
bool RemoveSingle (TKey key, TValue value)
 
- Public Member Functions inherited from UMapBase< TKey, TValue, MultiMapKeyFuncs< TKey, TValue > >
void Add (TKey key, TValue value)
 
bool Remove (TKey key)
 
bool ContainsKey (TKey key)
 
void Empty (int expectedCapacity=0)
 
void Shrink ()
 
void Compact ()
 
IEnumerator< KeyValuePair< TKey, TValue > > GetEnumerator ()
 
bool TryGetValue (TKey key, out TValue value)
 
void Clear ()
 

Additional Inherited Members

- Protected Member Functions inherited from UMapBase< TKey, TValue, MultiMapKeyFuncs< TKey, TValue > >
 UMapBase ()
 
 UMapBase (int capacity)
 
 UMapBase (IEnumerable< KeyValuePair< TKey, TValue > > enumerable)
 
- Protected Attributes inherited from UMapBase< TKey, TValue, MultiMapKeyFuncs< TKey, TValue > >
readonly USet< KeyValuePair< TKey, TValue >, TKey, TKeyFuncs > Pairs
 
- Properties inherited from UMapBase< TKey, TValue, MultiMapKeyFuncs< TKey, TValue > >
int Count [get]
 
ICollection< TKey > Keys [get]
 
ICollection< TValue > Values [get]
 
TValue this[TKey key] [get, set]
 

Constructor & Destructor Documentation

◆ UMultiMap() [1/3]

UMultiMap< TKey, TValue >.UMultiMap ( )
inline

◆ UMultiMap() [2/3]

UMultiMap< TKey, TValue >.UMultiMap ( int  capacity)
inline

◆ UMultiMap() [3/3]

UMultiMap< TKey, TValue >.UMultiMap ( IEnumerable< KeyValuePair< TKey, TValue > >  enumerable)
inline

Member Function Documentation

◆ MultiFind()

IEnumerable< TValue > UMultiMap< TKey, TValue >.MultiFind ( TKey  key)

◆ TryAddUnique()

bool UMultiMap< TKey, TValue >.TryAddUnique ( TKey  key,
TValue  value 
)
inline

◆ RemoveSingle()

bool UMultiMap< TKey, TValue >.RemoveSingle ( TKey  key,
TValue  value 
)
inline

The documentation for this class was generated from the following file: