# Functions
No description provided by the author
==================== mutex lock.
No description provided by the author
No description provided by the author
BoolComparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
No description provided by the author
No description provided by the author
Clear removes all entries from m, leaving it empty.
Clone returns a copy of m.
Complex128Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Complex64Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Copy copies all key/value pairs in src adding them to dst.
No description provided by the author
DeleteFunc deletes any key/value pairs from m for which del returns true.
Equal reports whether two maps contain the same key/value pairs.
EqualFunc is like Equal, but compares values using eq.
No description provided by the author
No description provided by the author
Float32Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Float64Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HashMapWithSafe is used to set a map goroutine-safe Note that iterators are not goroutine safe, and it is useless to turn on the setting option here.
Int16Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Int32Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Int64Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Int8Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
IntComparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Keys returns the keys of the map m.
No description provided by the author
No description provided by the author
New creates a new map.
No description provided by the author
No description provided by the author
Reverse returns a comparator reverse to cmp.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StringComparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint16Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Uint32Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Uint64Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
Uint8Comparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
UintComparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
UintptrComparator compare a with b
-1 , if a < b 0 , if a == b 1 , if a > b.
No description provided by the author
Values returns the values of the map m.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
普通锁.
No description provided by the author
No description provided by the author
读写锁.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Comparator Should return a number:
-1 , if a < b 0 , if a == b 1 , if a > b.
Option is a function type used to set Options.