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
|
| iof | instanceof |
| ir | import |
| le | length |
| na | native |
| newo | Object name = new Object(args); |
| pe | protected |
| pr | private |
| psf | private static final |
| psfb | private static final boolean |
| psfi | private static final int |
| psfs | private static final String |
| pst | printStackTrace(); |
| psvm | public static void main(String[] args){ } |
| pu | public |
| re | return |
| runn | Runnable runnable = new Runnable() { public void run() {}}; |
| serr | System.err.println ("|"); |
| sh | short |
| sout | System.out.println ("|"); |
| soutv | System.out.println("Object = " + Object); |
| st | static |
| su | super |
| sw | switch (var) { case val: break; default: throw new AssertionError();} |
| sy | synchronized |
| tds | Thread.dumpStack(); |
| th | throws |
| tr | transient |
| trycatch | try {} catch (Exception e) {} |
| tw | throw |
| vo | volatile |
| wh | while ( |
| whileit | while (it.hasNext()) { Object elem = (Object) it.next();} |
| whilen | while (en.hasMoreElements()) { Object elem = (Object) en.nextElement();} |
| whilexp | while (exp) {} |




0 comments:
Post a Comment