Class BiMap<U, V>
Represents a 1:1 mapping between two types
Assembly: Tessera.dll
Syntax
public class BiMap<U, V> : IEnumerable<(U, V)>, IEnumerable
Type Parameters
Constructors
BiMap(IEnumerable<(U, V)>)
Declaration
public BiMap(IEnumerable<(U, V)> data)
Parameters
Properties
Count
Declaration
public int Count { get; }
Property Value
this[U]
Declaration
public V this[U u] { get; }
Parameters
Type |
Name |
Description |
U |
u |
|
Property Value
this[V]
Declaration
public U this[V v] { get; }
Parameters
Type |
Name |
Description |
V |
v |
|
Property Value
Methods
GetEnumerator()
Declaration
public IEnumerator<(U, V)> GetEnumerator()
Returns
Implements