idea 快速生成代码的快捷键
psvm 加ab键 mian方法快速生成
sout 加tab键 输出打印快捷键
alt+insert 快速生成get set 方法
itar 生成array for代码块
- for (int i = 0; i < array.length; i++) {
- = array[i];
- }
itco 生成Collection迭代
- for (Iterator<String> iterator = locationUrl.iterator(); iterator.hasNext(); ) {
- String next = iterator.next();
- }
iten 生成enumeration遍历
- while (enumeration.hasMoreElements()) {
- Object nextElement = enumeration.nextElement();
- }
iter 生成增强forxun
- for (String s : locationUrl) {
- }
itit 生成iterator 迭代
- while (iterator.hasNext()) {
- Object next = iterator.next();
- }
itli 生成List的遍历
- for (int i = 0; i < locationUrl.size(); i++) {
- String s = locationUrl.get(i);
- }