集合 - 图1

    集合常用方法
    add()
    remove()
    contains()

    同一个对象的hashcode一定相等,
    hashcode相等不一定是同一个对象

    迭代器模式与迭代器的区别联系