java 常用的三大集合类
摘要:
一、Set集合。其主要实现类有HashSet、TreeSet。存放对象的引用,不允许有重复对象。 代码: public class SetTest { public static void main(String[] args) { Set set=new HashSet(); //添加数据 set 阅读全文
posted @ 2016-11-19 23:32 aisy绍 阅读(19960) 评论(2) 推荐(3) 编辑