zoukankan      html  css  js  c++  java
  • idea 快速生成代码的快捷键

     psvm 加ab键   mian方法快速生成

    sout 加tab键   输出打印快捷键

     alt+insert      快速生成get  set 方法

    itar 生成array for代码块

    [java] view plain copy
     
    1. for (int i = 0; i < array.length; i++) {  
    2.              = array[i];  
    3.               
    4.         }  

    itco 生成Collection迭代 

    [java] view plain copy
     
    1. for (Iterator<String> iterator = locationUrl.iterator(); iterator.hasNext(); ) {  
    2.             String next =  iterator.next();  
    3.               
    4.         }  

    iten 生成enumeration遍历

    [java] view plain copy
     
    1. while (enumeration.hasMoreElements()) {  
    2.             Object nextElement =  enumeration.nextElement();  
    3.               
    4.         }  


    iter 生成增强forxun

    [java] view plain copy
     
    1. for (String s : locationUrl) {  
    2.               
    3.         }  

    itit  生成iterator 迭代

    [java] view plain copy
     
    1. while (iterator.hasNext()) {  
    2.                 Object next =  iterator.next();  
    3.                   
    4.  }  
     

    itli 生成List的遍历

    [java] view plain copy
     
      1. for (int i = 0; i < locationUrl.size(); i++) {  
      2.             String s =  locationUrl.get(i);  
      3.               
      4.         }    
  • 相关阅读:
    BZOJ2759 一个动态树好题
    BZOJ3527 力
    HDU6069 String
    HDU5069 Harry And Biological Teacher
    AC自动机初步
    HDU6155 Subsequence Count
    while与until
    RADI
    linux压缩及归档
    挂载与卸载
  • 原文地址:https://www.cnblogs.com/benjamin77/p/9092284.html
Copyright © 2011-2022 走看看