摘要: 1 Collection接口 常用的方法: add(Object e) 确保此 collection 包含指定的元素(可选操作)。 size(): 获取集合中元素的个数 remove(Object e): 移除元素 clear(): 清空集合中元素 contains(Object e): 判断集合中 阅读全文
posted @ 2017-06-18 22:00 Nicepanda 阅读(141) 评论(0) 推荐(0) 编辑