Merge pull request #108 from navigaid/patch-1

fix linkedhashmap.Map comment error
pull/114/head
Emir Pasic 5 years ago committed by GitHub
commit 00662fa41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,7 @@ func assertMapImplementation() {
var _ maps.Map = (*Map)(nil) var _ maps.Map = (*Map)(nil)
} }
// Map holds the elements in a red-black tree // Map holds the elements in a regular hash table, and uses doubly-linked list to store key ordering.
type Map struct { type Map struct {
table map[interface{}]interface{} table map[interface{}]interface{}
ordering *doublylinkedlist.List ordering *doublylinkedlist.List

Loading…
Cancel
Save