Java·´±àÒ빤¾ßEclipse²å¼þ Jode Decompiler
Java·´±àÒ빤¾ßEclipse²å¼þ--Jode Decompiler
°²×°·Ç³£µÄ¼òµ¥£º
help => Software Updates => Find and Install... => Search for new features to install£¬
µ¥»÷"New Remote Site..." ÔÚURLÀ¸ÊäÈë http://www.technoetic.com/eclipse/update £¬
È»ºóÏÂÒ»²½£¬¾Í¿ÉÒÔ¿´µ½“jode decompiler plugin *.*”ÁË£¬Ñ¡ÉÏ°²×°¾Í¿ÉÒÔÁË¡£
°²×°ºÃÁË¿ÉÒÔ¿´µ½Window => Preferences... => Java => Jode DecompilerÑ¡Ï¡£
°²×°ºÃÁËÔÙÉèÖÃÒ»ÏÂÎļþ¹ØÁª¾Í¿ÉÒÔÁË£¬Window => Preferences... => General => Editors => File Associations
ÕÒµ½"*.class"ÔÚ"Associated editors"ÀïÃæ¿ÉÒÔ¿´µ½"Jode class file viewer"Ñ¡ÖÐËüÔÙµ¥»÷Default°´Å¥¾ÍOKÁË¡£
ÏÖÔھͿÉÒÔ¿ªÊ¼Ê¹ÓÃÁË,½¨Á¢Ò»¸öprojectÈ»ºóÒýÓÃÄãµÄ×é¼þ,ÔÚ×é¼þÖÐÕÒµ½ÄãËùÒª·´±àÒëµÄÀàÎļþ´ò¿ª¾Í¿ÉÒÔ¿´µ½·´±àÒëºóµÃµ½µÄ´úÂëÁË¡£
Ïà¹ØÎĵµ£º
¶àÏ̶߳Áдͬһ¸ö¶ÔÏóµÄÊý¾ÝÊǺÜÆÕ±éµÄ£¬Í¨³££¬Òª±ÜÃâ¶Áд³åÍ»£¬±ØÐë±£Ö¤ÈκÎʱºò½öÓÐÒ»¸öÏß³ÌÔÚдÈ룬ÓÐÏß³ÌÕýÔÚ¶ÁÈ¡µÄʱºò£¬Ð´Èë²Ù×÷¾Í±ØÐëµÈ´ý¡£¼òµ¥Ëµ£¬¾ÍÊÇÒª±ÜÃâ“д-д”³åÍ»ºÍ“¶Á-д”³åÍ»¡£µ«ÊÇͬʱ¶ÁÊÇÔÊÐíµÄ£¬ÒòΪ“¶Á-¶Á”²»³åÍ»£¬¶øÇҺܰ²È«¡£
ҪʵÏÖÒÔÉϵÄReadWriteLock£¬ ......
public class Test {
public static void main(String args[]) {
System.out.println(Integer.toBinaryString(20)); //Ê®½øÖÆ-->2½øÖÆ
System ......
³ÌÐòÉè¼ÆÊǽâ¾öÎÊÌâ˼·µÄ¾ßÌ廯.¾ÍÏñ½¨ÔìÒ»×ù·¿×ÓÒ»Ñù£¬ÓÃʲôÑùµÄ²ÄÁÏ,½¨Ôìʲô·ç¸ñµÄ½¨Öþ,¾ßÌåÿ¸öλÖÃÊÇʲô... ²»Í¬µÄ½¨Öþʦ»áÓв»Í¬µÄ·½·¨. ¶ø°ÑÍê³ÉijһÌض¨ÎÊÌâµÄ½â¾ö˼·¹æ·¶Ò»Ï ¾Í¿ÉÒÔ³Æ×÷ΪһÖÖÉè¼Æģʽ.
³ÌÐòÉè¼ÆÖÐÉè¼ÆģʽΪÎÒÃÇÔÚijһÎÊÌâÓòÌṩÁËÒ»ÖÖÁ¼ºÃµÄʵÏÖ·½·¨²Î¿¼£¬¿ÉÒÔ´ó´óʵÏÖ¸´Óú͸ßЧ¡£
ÏÂÃæÎ ......
Êܵ½“15ÄêÄã»ýÀÛÁËʲô”Ò»ÎĵÄÕ𶯣¬ÌرðÊÕ¼¯¸ÃÎÄѧϰ
Java gc
¹Ø¼ü×Ö: java gc, À¬»ø»ØÊÕ»úÖÆ
1.JVMµÄgc¸ÅÊö
¡¡¡¡gc¼´À¬»øÊÕ¼¯»úÖÆÊÇÖ¸jvmÓÃÓÚÊÍ·ÅÄÇЩ²»ÔÙʹÓõĶÔÏóËùÕ¼ÓõÄÄÚ´æ¡£javaÓïÑÔ²¢²»ÒªÇójvmÓÐgc£¬Ò²Ã»Óй涨gcÈçºÎ¹¤×÷¡£²»¹ý³£ÓõÄjvm¶¼ÓÐgc£¬¶øÇÒ´ó¶àÊýgc¶¼Ê¹ÓÃÀàËƵÄËã·¨¹ÜÀíÄÚ´æºÍÖ´ÐÐÊÕ ......
package test;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* ʵÏÖ¶Ô×Ö·û´®±í´ïʽ½øÐмòµ¥µÄ°üÀ¨º¯ÊýµÄÔËËã¡£
*
* @auth ......