perf: 优化代码结构,去除无用代码,去除重复代码
This commit is contained in:
@@ -5,7 +5,6 @@ type MapReadonly[Key comparable, Value any] interface {
|
||||
Get(key Key) Value
|
||||
Exist(key Key) bool
|
||||
GetExist(key Key) (Value, bool)
|
||||
Length() int
|
||||
Range(handle func(key Key, value Value))
|
||||
RangeSkip(handle func(key Key, value Value) bool)
|
||||
RangeBreakout(handle func(key Key, value Value) bool)
|
||||
|
||||
Reference in New Issue
Block a user