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.TimergetSortedKeys
(method) SortedDictionary:getSortedKeys()
-> table获取排序后的键列表
remove
(method) SortedDictionary:remove(key: any)移除键值对

