2020年8月19日

JDK 集合 LIST

摘要: 一、继承关系图 二、类图 java中的List接口以及实现类,类图如下: * @author Josh Bloch * @author Neal Gafter * @see Collection * @see Set * @see ArrayList * @see LinkedList * @see 阅读全文

posted @ 2020-08-19 15:34 书梦一生 阅读(215) 评论(0) 推荐(0)

JDK 集合 Collection

摘要: 一、继承关系图 二、接口方法说明 Collection接口继承自Iterable接口,它是集合树的最顶层节点,它总共定义了15个方法: //返回集合中元素的个数 int size(); //判断集合是否为空 boolean isEmpty(); //判断集合中是否包含指定对象 boolean con 阅读全文

posted @ 2020-08-19 11:39 书梦一生 阅读(153) 评论(0) 推荐(0)

导航