摘要: 集合添加元素 /* * 3.void clear() 移除此 collection 中的所有元素 * 4.boolean remove(Object o) 移除集合中指定元素 * 5.boolean removeAll(Collection<?> c) ;删除指定的Collection中和本Coll 阅读全文
posted @ 2018-05-09 20:12 虎虎地程序员 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 执行结果: s0 : Student [name=张大, age=1]s1 : Student [name=张二, age=2]s2 : Student [name=张三, age=3]s3 : Student [name=张四, age=4]s4 : Student [name=张五, age=5 阅读全文
posted @ 2018-05-09 11:46 虎虎地程序员 阅读(16059) 评论(0) 推荐(0) 编辑