摘要:
一、枚举 1.定义枚举 例如: public enum Week{ Mon,Tue,Wed } 2.声明枚举变量 public Week ed; 3.枚举变量的使用 ed = Week.Mon; 二、包装类 List<int> t = new ArrayList<>(); //这是错的,应该吧int 阅读全文
摘要:
一、大体介绍 1.接口 集体接口在collections: 提供了对集合进行排序,遍历等多种算法的实现 List是不唯一,有序的 Set是唯一,有序的 1.ArrayList 不唯一 有序 遍历效率高 2.LinkedList采用链接的方式,插入和删除的时候效率高 alt + s + r 生成set 阅读全文
摘要:
1. 2. 3.window.open() 4.history 5.location 6.Document document.referrer document.URL 阅读全文