Faucherwind
40cad365c0
feat: add CopyOnWriteList. A thread-safe list. ( #125 )
...
* fix: use loop to get value . On Get() and Contains()
* fix: Use reflect. DeepEqual() determines whether the keys are equal
* feat: add CopyOnWriteList. A thread-safe list.
* fix: fix failed unit test
* feat: add Equal() in CopyOnWriteList.
fix: update some function`s names
* doc: add copyonwritelist.md and copyonwritelist_zh-CN.md
2023-08-02 11:10:10 +08:00
Faucherwind
6386ab908d
fix: use loop to get value . On Get() and Contains() ( #124 )
...
* fix: use loop to get value . On Get() and Contains()
* fix: Use reflect. DeepEqual() determines whether the keys are equal
2023-08-01 11:14:45 +08:00
dudaodong
ab364744b6
test: add parallel running for all unit test functions
2023-06-29 14:49:28 +08:00
dudaodong
a8761eefb0
doc: update package comment for datastructure package
2023-06-01 14:28:04 +08:00
dudaodong
4311b9ac66
test: remove t.Log()
2023-04-26 14:59:45 +08:00
dudaodong
081908bce3
fix: fix goline error
2023-03-01 11:10:12 +08:00
dudaodong
bcd1cabf80
feat: add Keys and Values function for hashmap
2022-10-10 16:34:05 +08:00
dudaodong
fab24c8d12
feat: add Iterate for hashmap datastructure
2022-10-10 15:25:30 +08:00
dudaodong
9107eb4b32
fix: fix resize bug in HashMap
2022-08-25 14:04:26 +08:00
dudaodong
551e66ba29
refactor: update HashMap Put method
2022-08-24 10:20:02 +08:00
dudaodong
4eeeabb227
feat: add Delete method for hashmap
2022-08-23 15:07:54 +08:00
dudaodong
b3437fdddf
feat: add Delete method for hashmap
2022-08-23 15:07:13 +08:00
dudaodong
312dcab369
feat: add Delete method for hashmap
2022-08-23 15:05:32 +08:00
dudaodong
0cb89f4f46
test: add unit test for HashMap
2022-08-23 14:15:51 +08:00
dudaodong
a2dec87995
feat: add Put method for hashmap
2022-08-23 14:11:14 +08:00
dudaodong
9094cb29bf
feat: add new HashMap data structure
2022-08-22 15:21:30 +08:00