donutloop
3d7600a9e4
list: add DeleteIf method ( #50 )
...
DeleteIf delete all satisfying f(data[i]), returns count of removed elements
2022-07-23 18:52:29 +08:00
donutloop
0299c454ab
list: add sublist method ( #49 )
...
SubList returns a sub list of the original list between the specified fromIndex, inclusive, and toIndex, exclusive.
2022-07-23 15:00:04 +08:00
donutloop
ac3baac5c6
list: Add LastIndexOfFunc and IndexOfFunc method ( #48 )
...
* LastIndexOfFunc returns the index of the last occurrence of the value in this list satisfying f(data[i])
* IndexOfFunc returns the first index satisfying f(v)
2022-07-22 10:04:31 +08:00
donutloop
a82b5dd206
list: add LastIndexOf ( #46 )
...
Add LastIndexOf method too List and fix doc
LastIndexOf returns the index of the last occurrence of the value in this list.
if not found return -1
2022-07-21 15:19:18 +08:00
dudaodong
44370aef5e
refactor: change variable name to
2022-07-18 15:52:51 +08:00
dudaodong
7b84fbfd94
fix: fix misspellings ->
2022-05-30 20:54:34 +08:00
dudaodong
7fd9a94922
fix: fix lint warning 'ineffassign'
2022-03-22 14:36:35 +08:00
dudaodong
50c6e51393
upgrade go module v2
2022-03-17 10:57:35 +08:00
dudaodong
48c1f8ffad
fix: fix some spell mistake
2022-02-13 19:00:44 +08:00
dudaodong
f551c56921
refactor: reconstructure souce file into the corresponding folder
2022-02-10 17:57:53 +08:00