跳到主要内容

add

向集合中添加元素,如果元素已存在集合中则覆盖之

声明

void add(OrderedSet self, mixed key, mixed value = nil)

参数

参数名描述
self
key
value

返回值

使用方式

返回文档