Collection:
add()
remove()
contains()
iterator()
size()
遍历:
增强for
迭代器
|--List
get()
扫描二维码关注公众号,回复:
3716436 查看本文章
遍历:
普通for
|--Set
Map:
put()
remove()
containskey(),containskeyvalue()
keySet()
get()
value()
entrySet()
size()
遍历:
根据键找值
根据键值对对象分别找键值