elliotchance / orderedmap

🔃 An ordered map in Go with amortized O(1) for Set, Get, Delete and Len.
MIT License
817 stars 62 forks source link

Implement GetElement method #17

Closed jyotisj closed 4 years ago

jyotisj commented 4 years ago

Added GerElement method to get element when a key is provided.

Use Case of GetElement method is to get Next() and Prev() from the OrderedMap when a key is provided.


This change is Reviewable