Sunday, June 12, 2016

Hashtable - C++, C#, Java, JavaScript

June 12, 2016

Start to read all Hashtable class API, read code and start to memorize all of them. Invest time on them, 30 minutes a time.

C#:
Dictionary class
https://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx

Interface implemented:
IDictionary,
ICollection,
IEnumerable,
IReadOnlyDictionary
ISerializable
IDeserializationCallback

Properties:
Comparer,
Count,
Item[TKey]
Keys
Values

Methods:   15 methods

Add(TKey, TValue)
Clear()
ContainsKey(TKey)
ContainsValue(TValue)
Equals(Object)

Finalize()
GetEnumerator()
GetHashCode()

Extension Methods:
https://msdn.microsoft.com/en-CA/library/bb383977.aspx






C++:

Java:

JavaScript:


Statistics:
1. June 12, 2016 30 minutes

No comments:

Post a Comment