SortedDictionary
SortedPairs
(method) SortedDictionary:SortedPairs()
-> fun():any, any
获取有序迭代器
add
(method) SortedDictionary:add(key: any, value: any)
添加或更新键值对
containsKey
(method) SortedDictionary:containsKey(key: any)
-> boolean
检查是否包含键
dictionary
table<any, any>
get
(method) SortedDictionary:get(key: any)
-> any
获取值
getSortedKeys
(method) SortedDictionary:getSortedKeys()
-> table
获取排序后的键列表
remove
(method) SortedDictionary:remove(key: any)
移除键值对
SortedDictionary.Clock
SortedPairs
(method) SortedDictionary:SortedPairs()
-> fun():any, any
获取有序迭代器
add
fun(self: SortedDictionary.Clock, key: number, value: NPBehave.Clock.Timer)
containsKey
(method) SortedDictionary:containsKey(key: any)
-> boolean
检查是否包含键
dictionary
table<any, any>
get
fun(self: SortedDictionary.Clock, key: number):NPBehave.Clock.Timer
getSortedKeys
(method) SortedDictionary:getSortedKeys()
-> table
获取排序后的键列表
remove
(method) SortedDictionary:remove(key: any)
移除键值对