Set

       

 Set在Connections上没有增长额外的操做,Set集合中的元素是不能重复的!io

    经常使用实现类:map

            HashSet,LinkedHashSet,TreeSetim

         每一个Set对应map的封装,HashSet对HashMap进行了封装。
img

相关文章
相关标签/搜索