Tags: lutfuahmet/orderedmap
Tags
Implement GetElement method (elliotchance#17) GetElement returns the element for a key. If the key does not exist, the pointer will be nil. Co-authored-by: Jyoti Shete <jyoti.shete@coursehero.com>
Implement GetOrDefault (elliotchance#8) GetOrDefault returns the value for a key. If the key does not exist, it returns the default value instead.
Added bidirectional iterator (elliotchance#2) The new methods Front() and Back() can be used to bidirectionally iterate over the elements. If the map is changing while the iteration is in-flight it may produce unexpected behavior.