- Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathEntry.cs
27 lines (23 loc) · 628 Bytes
/
Entry.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingDataStructures.Hashing.NumberTheory;
namespaceDataStructures.Hashing;
/// <summary>
/// Entry in the hash table.
/// </summary>
/// <typeparam name="TKey">Type of the key.</typeparam>
/// <typeparam name="TValue">Type of the value.</typeparam>
/// <remarks>
/// This class is used to store the key-value pairs in the hash table.
/// </remarks>
publicclassEntry<TKey,TValue>
{
publicTKey?Key{get;set;}
publicTValue?Value{get;set;}
publicEntry(TKeykey,TValuevalue)
{
Key=key;
Value=value;
}
}