set/map

145 阅读1分钟

set:不重复的有序列表

add,delete,has,clear

map:键值对的有序列表(具有很快的查找速度)

map的方法: set,get,delete,clear,size,has,keys,values