In this tutorial we are going to see NetBeans IDE Java templates.
This tutorials created for NetBeans IDE 7.4
Note : While typing the source if you type the text in left column and press Tab it gives the text in right column
This tutorials created for NetBeans IDE 7.4
Note : While typing the source if you type the text in left column and press Tab it gives the text in right column
Keyword
|
Template
|
En | Enumeration |
Ex | Exception |
Ob | Object |
Psf | public static final |
Psfb | public static final boolean |
Psfi | public static final int |
Psfs | public static final String |
St | String |
ab | abstract |
as | assert true; |
bcom | /**/ |
bo | boolean |
br | break; |
ca | catch ( |
cl | class |
cn | continue |
db | double |
df | default: |
dowhile | do { } while (condition); |
ex | extends |
fa | false |
fcom | // <editor-fold></editor-fold> |
fi | final |
fl | float |
forc | for (Iterator it = collection.iterator(); it.hasNext();) { Object elem = (Object) it.next(); } |
fore | for (Object elem : iterable) { } |
fori | for (int i = 0; i < arr.length; i++) {} |
forl | for (int i = 0; i < lst.size(); i++) { Object object = lst.get(i); } |
forst | for (StringTokenizer st = new StringTokenizer(""); st.hasMoreTokens();) } |
forv | for (int i = 0; i < vct.size(); i++) { Object object = vct.elementAt(i);} |
ie | interface |
ifelse | if (condition){}else { } |
iff | if (exp) {} |
im | implements |
inst | if (exp instanceof Object) { Object obj = (Object) exp; |
0 comments:
Post a Comment