JAVA¾²Ì¬·½·¨µÄͬ²½ÎÊÌâ~~~~~~~~~~~~~
Ò»Ö±±»Í¬²½¸ãµÃÔÎͷתÏò£¬½ñÌìÓöµ½ÁËҪд¾²Ì¬·½·¨£¬×ܵ£ÐĻ᲻»áÓÐͬ²½ÎÊÌ⣬½á¹û¿´ÁËÒÔÏÂһϯ»°£¬»íÈ»¿ªÀÊ~~
Every method of java will have a stack, and every invokation on that
method will have it's own 'stack frame'. So the locale data of one
method invokation will not affect others.
Please do not confuse 'synchronization' with 'atomic'.
If one static method is synchronized, JVM will use the Class as the lock. If not, it acts as an instance method.
Ïà¹ØÎĵµ£º
java.util Öеļ¯ºÏÀà°üº¬ Java ÖÐijЩ×î³£ÓõÄÀà¡£ ×î³£Óõļ¯ºÏÀàÊÇ List ºÍ Map¡£ List µÄ¾ßÌåʵÏÖ°üÀ¨ ArrayList ºÍ Vector£¬ËüÃÇÊǿɱä´óСµÄÁÐ±í£¬±È½ÏÊʺϹ¹½¨¡¢´æ´¢ºÍ²Ù×÷ÈκÎÀàÐͶÔÏóµÄÔªËØÁÐ±í¡£ List ÊÊÓÃÓÚ°´ÊýÖµË÷Òý·ÃÎÊÔªËصÄÇéÐΡ£
Map ÌṩÁËÒ»¸ö¸üͨÓõÄÔªËØ´æ´¢·½·¨¡£ Map ¼¯ºÏÀàÓÃÓÚ´æ´¢ÔªËØ ......
ÎÒÏ룬¿ÉÄܲ»Ö¹ÎÒÒ»¸öÈËÓÐÕâ¸öÒÉÎÊ£¬ËùÒÔ£¬°ÑËüÌù³öÀ´¡£
¡¡¡¡ÏÂÃæÊÇmadaiºÍclkrst¸øÎҵĻشð¡£
¡¡¡¡ÔÚ´ËллÁ½Î»¡£
¡¡¡¡ÎÒµÄÎÊÌâÊÇ£º
¡¡¡¡java µÄ½Ó¿Úµ½µ×Æðʲô×÷Óã¿
¡¡¡¡1¡¢´ÓÊéÖп´µ½µÄÊÇjava³ÌÐòµÄ½Ó¿ÚÖÐÖ»¶¨ÒåÁ˳£Á¿¼°¿Õ·½·¨£¬¿ÕµÄ·½·¨ÓÐʲôÓÃÄØ£¿»¹ÒªÔÚÀàÖÐÐ ......
˼·£ºÉú³ÉÒ»¸öËæ»úÊý----ת»»³É16½øÖÆ»òÆäËûÂëÖµ------ת»»³Éºº×Ö×Ö·û---ÏÔʾ
Éú³ÉÒ»¸öËæ»úÊý£¬ ÔÚ0x5000µ½0x9000Ö®¼äµÄ¶¼ÊǺº×Ö
ÎÒÖ»½²ÔÀí£¬µ«¾ßÌåµ½ÄãʹÓÃʲô±à³Ì¹¤¾ßÊÇÄã×Ô¼ºµÄÎÊÌâ¡£
Èκαà³Ì¿ª·¢¹¤¾ß¶¼ÓÐËæ»úÊýÕâ¸ö¸ÅÄ¶øÎÒÃǵÄÇøλÂëÕýºÃÊÇÓÉËÄλÊý×Ö×é³ÉµÄ£¬ÇøλÊäÈë·¨¿ÉÒÔÊäÈëGB2312-80µÄÈ«²¿ºº×Ö£¬ ......
ÔÎijö´¦£ºhttp://developers.sun.com/techtopics/mobility/midp/articles/wtk23beta/
Sun Java Wireless ToolkitÔ½À´Ô½ºÃ£¬2.3beta°æ±¾Ôö¼ÓÁ˶ÔÓÚÈýÖÖеÄAPIµÄÖ§³Ö£º
l The Security and Trust Services APIs (SATSA, ......
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import net.sourceforge.pinyin4j.PinyinHelper;
public class PinyinComparator implements Comparator<Object> {
private String concatPinyinStringArray(String[] pinyinArray) {
&nb ......