黑马程序员技术交流社区

标题: 常见的集合类 [打印本页]

作者: 虎鹏    时间: 2015-5-12 00:29
标题: 常见的集合类
ArrayList
        LinkedList
        HashSet
        HashMap
       
        Collection集合接口中的方法
                add()
                iterator()
                boolean contains(Object o)
                void clear()
                boolean isEmpty()
                int size()
                boolean remove(Object o)
               
        List集合接口中的方法
                set()
                get()
                ListIterator()               
               
        Map集合接口中的方法
                put()
                void clear()
                boolean isEmpty()
                int size()
                void clear()
                boolean containsKey(K k)
                boolean containsValue(V k)
                keySet()
                entrySet()
               
        Map集合接口中,子接口Entry
                Entry
                        getKey()
                        getValue()
                        setValue()




欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2