Java¿ª·¢¹¤¾ß¿ì½Ý¼ü
Ctrl+1 ¿ìËÙÐÞ¸´(×î¾µäµÄ¿ì½Ý¼ü,¾Í²»Óöà˵ÁË)
Ctrl+D: ɾ³ýµ±Ç°ÐÐ
Ctrl+Alt+↓ ¸´ÖƵ±Ç°Ðе½ÏÂÒ»ÐÐ(¸´ÖÆÔö¼Ó)
Ctrl+Alt+↑ ¸´ÖƵ±Ç°Ðе½ÉÏÒ»ÐÐ(¸´ÖÆÔö¼Ó)
Alt+↓ µ±Ç°ÐкÍÏÂÃæÒ»Ðн»»¥Î»ÖÃ(ÌرðʵÓÃ,¿ÉÒÔÊ¡È¥ÏȼôÇÐ,ÔÙÕ³ÌùÁË)
Alt+↑ µ±Ç°ÐкÍÉÏÃæÒ»Ðн»»¥Î»ÖÃ(ͬÉÏ)
Alt+← Ç°Ò»¸ö±à¼µÄÒ³Ãæ
Alt+→ ÏÂÒ»¸ö±à¼µÄÒ³Ãæ(µ±È»ÊÇÕë¶ÔÉÏÃæÄÇÌõÀ´ËµÁË)
Alt+Enter ÏÔʾµ±Ç°Ñ¡Ôñ×ÊÔ´(¹¤³Ì,or Îļþ orÎļþ)µÄÊôÐÔ
Shift+Enter ÔÚµ±Ç°ÐеÄÏÂÒ»ÐвåÈë¿ÕÐÐ(ÕâʱÊó±ê¿ÉÒÔÔÚµ±Ç°ÐеÄÈÎһλÖÃ,²»Ò»¶¨ÊÇ×îºó)
Shift+Ctrl+Enter ÔÚµ±Ç°ÐвåÈë¿ÕÐÐ(ÔÀíͬÉÏÌõ)
Ctrl+Q ¶¨Î»µ½×îºó±à¼µÄµØ·½
Ctrl+L ¶¨Î»ÔÚijÐÐ (¶ÔÓÚ³ÌÐò³¬¹ý100µÄÈ˾ÍÓи£ÒôÁË)
Ctrl+M ×î´ó»¯µ±Ç°µÄEdit»òView (ÔÙ°´Ôò·´Ö®)
Ctrl+/ ×¢Ê͵±Ç°ÐÐ,ÔÙ°´ÔòÈ¡Ïû×¢ÊÍ
Ctrl+O ¿ìËÙÏÔʾ OutLine
Ctrl+T ¿ìËÙÏÔʾµ±Ç°ÀàµÄ¼Ì³Ð½á¹¹
Ctrl+W ¹Ø±Õµ±Ç°Editer
Ctrl+K ²ÎÕÕÑ¡ÖеÄWord¿ìËÙ¶¨Î»µ½ÏÂÒ»¸ö
Ctrl+E ¿ìËÙÏÔʾµ±Ç°EditerµÄÏÂÀÁбí(Èç¹ûµ±Ç°Ò³ÃæûÓÐÏÔʾµÄÓúÚÌå±íʾ)
Ctrl+/(С¼üÅÌ) ÕÛµþµ±Ç°ÀàÖеÄËùÓдúÂë
Ctrl+×(С¼üÅÌ) Õ¹¿ªµ±Ç°ÀàÖеÄËùÓдúÂë
Ctrl+Space ´úÂëÖúÊÖÍê³ÉһЩ´úÂëµÄ²åÈë(µ«Ò»°ãºÍÊäÈë·¨ÓгåÍ»,¿ÉÒÔÐÞ¸ÄÊäÈë·¨µÄÈȼü,Ò²¿ÉÒÔÔÝÓÃAlt+/À´´úÌæ)
Ctrl+Shift+E ÏÔʾ¹ÜÀíµ±Ç°´ò¿ªµÄËùÓеÄViewµÄ¹ÜÀíÆ÷(¿ÉÒÔÑ¡Ôñ¹Ø±Õ,¼¤»îµÈ²Ù×÷)
Ctrl+J ÕýÏòÔöÁ¿²éÕÒ(°´ÏÂCtrl+Jºó,ÄãËùÊäÈëµÄÿ¸ö×Öĸ±à¼Æ÷¶¼Ìṩ¿ìËÙÆ¥Å䶨λµ½Ä³¸öµ¥´Ê,Èç¹ûûÓÐ,ÔòÔÚstutes lineÖÐÏÔʾûÓÐÕÒµ½ÁË,²éÒ»¸öµ¥´Êʱ,ÌرðʵÓÃ,Õâ¸ö¹¦ÄÜIdeaÁ½ÄêÇ°¾ÍÓÐÁË)
Ctrl+Shift+J ·´ÏòÔöÁ¿²éÕÒ(ºÍÉÏÌõÏàͬ,Ö»²»¹ýÊÇ´ÓºóÍùÇ°²é)
Ctrl+Shift+F4 ¹Ø±ÕËùÓдò¿ªµÄEditer
Ctrl+Shift+X °Ñµ±Ç°Ñ¡ÖеÄÎı¾È«²¿±äζСд
Ctrl+Shift+Y °Ñµ±Ç°Ñ¡ÖеÄÎı¾È«²¿±äΪСд
Ctrl+Shift+F ¸ñʽ»¯µ±Ç°´úÂë
Ctrl+Shift+P ¶¨Î»µ½¶ÔÓÚµÄÆ¥Åä·û(Æ©Èç{}) (´ÓÇ°Ã涨λºóÃæʱ,¹â±êÒªÔÚÆ¥Åä·ûÀïÃæ,ºóÃ浽ǰÃæ,Ôò·´Ö®)
ÏÂÃæµÄ¿ì½Ý¼üÊÇÖع¹ÀïÃæ³£ÓõÄ,±¾È˾Í×Ô¼ºÏ²»¶ÇÒ³£ÓõÄÕûÀíÒ»ÏÂ(×¢:Ò»°ãÖع¹µÄ¿ì½Ý¼ü¶¼ÊÇAlt+Shift¿ªÍ·µÄÁË)
Alt+Shift+R ÖØÃüÃû (ÊÇÎÒ×Ô¼º×î°®ÓõÄÒ»¸öÁË,ÓÈÆäÊDZäÁ¿ºÍÀàµÄRename,±ÈÊÖ¹¤·½·¨ÄܽÚÊ¡ºÜ¶àÀͶ¯Á¦)
Alt+Shift+M ³éÈ¡·½·¨ (ÕâÊÇÖع¹ÀïÃæ×î³£Óõķ½·¨Ö®Ò»ÁË,ÓÈÆäÊǶÔÒ»´ó¶ÑÄàÍÅ´úÂëÓÐÓÃ)
Alt+Shift+C Ð޸ĺ¯Êý½á¹¹(±È½ÏʵÓÃ,ÓÐN¸öº¯Êýµ÷ÓÃÁËÕâ¸ö·½·¨,ÐÞ¸ÄÒ»´Î¸ã¶¨)
Alt+Shift+
Ïà¹ØÎĵµ£º
1. Multiply-Thread
Locks offer two primary features: mutual exclusion and visibility. Mutual exclusion means only one thread at a time may hold a given lock, so only one thread at a time will be using the shared data. Visibility is to ensure that changes made to shared data prior to releasing a lo ......
JAVAÁ¬½ÓÊý¾Ý¿â´óÈ«
1£®Oracle8/8i/9iÊý¾Ý¿â£¨thinģʽ£©
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url="jdbc:oracle:thin:@localhost:1521:ts"; //tsΪÊý¾Ý¿âµÄSID
String user="sa";
String password="";
Connection conn= DriverManager.getConnection(url,u ......
´úÂëÈçÏ£º
package com.test.j2se;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class MD5 {
/**Êý¾Ý¼ÓÃÜ
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
MessageDigest code = MessageD ......
ÒÔÇ°¶¼ÊÇÓÃÒ»°ãµÄsocket±à³Ì£¬ÓÃÏß³ÌÀ´¿ØÖÆ¡£×î½üͻȻÓÃnioÀ´×öЩ¶«Î÷¡£
nioµÄºÃ´¦ÎÒÀ´ËµÒ»Ï£ºµÚÒ»£¬¶Áд¶¼ÊÇ»ùÓÚ¿éµÄ£¬Ð§Âʸߡ£µÚ¶þ£¬Í¨¹ýÒýÈëselector,¼ò»¯ÁËÍøÂç±à³ÌÄ£ÐÍ£¬Òì²½·Ç×èÈû¡£
¼ÈÈ»ÓÐÕâô¶àºÃ´¦£¬ÄǾÍд¸öNIO TCPÍøÂçÁÄÌìÊÒÀ´Á·Á·ÊÖ°É¡£
ÒòΪûÓÐдgui£¬ÊÇ»ùÓÚ¿ØÖÆ̨µÄËùÒÔûд˽Á˵IJ¿·Ö£¬Ö»Ð´Á˹«¹²ÁÄÌìÊ ......