JavaÖеÄÖµ´«µÝºÍµØÖ·´«µÝ
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class TestClass {
/**
* @param args
*/
public static void main(String[] args) {
// TODO ×Ô動Éú³É¤µ¤ì¤¿¥á¥½¥Ã¥É?¥¹¥¿¥Ö
List li = searchCrdNo();
System.out.print("main method now is :"+((Map) li.get(0)).get("AA"));
}
public static List searchCrdNo() {
List li = new ArrayList();
Map ma = new HashMap();
ma.put("AA", "1");
li.add(ma);
Map crdNoMap = (Map) li.get(0);
crdNoMap.put("AA", "22");
System.out.print("now is :"+((Map) li.get(0)).get("AA"));
return li;
}
}
now is :22main method now is :22
×î¼òµ¥µÄÀý×Ó£¬°´Öµ´«µÝµÄÀý×Ó£¡
Ïà¹ØÎĵµ£º
ÀàµÄ³õʼ»¯ºÍ¶ÔÏó³õʼ»¯ÊÇ JVM ¹ÜÀíµÄÀàÐÍÉúÃüÖÜÆÚÖзdz£ÖØÒªµÄÁ½¸ö»·½Ú£¬Google ÁËÒ»±éÍøÂ磬ÓйØÀà×°ÔØ»úÖÆµÄÎÄÕµ¹ÊDz»ÉÙ£¬È»¶øÀà³õʼ»¯ºÍ¶ÔÏó³õʼ»¯µÄÎÄÕ²¢²»¶à£¬ÌرðÊÇ´Ó×Ö½ÚÂëºÍ JVM ²ã´ÎÀ´·ÖÎöµÄÎÄÕ¸üÊÇÏÊÓÐËù¼û¡£
±¾ÎÄÖ÷Òª¶ÔÀàºÍ¶ÔÏó³õʼ»¯È«¹ý³Ì½øÐзÖÎö£¬Í¨¹ýÒ»¸öʵ¼ÊÎÊÌâÒýÈ룬½«Ô´´úÂëת»»³É JVM ×Ö½ÚÂëºó£¬ ......
ʹÓÃJava±àдTelnet¿Í»§¶Ë
2009-12-24
Kagula
»·¾³
[1]Eclipse3.4.2
[2]JDK 1.6.x
[3] jta26.jar
¿É´ÓÏÂÃæÍøÖ·ÏÂÔØÕâ¸öJar°ü
http://javassh.org/space/start
¸ÅÒª
ͨ¹ýÁ½¸öÀý×Ó£¬½éÉÜTelnet¿Í»§¶ËµÄ±àд
ÕýÎÄ
Àý×ÓÒ»£ºÏòOPhoneÐéÄâ»ú·¢ËÍÒ ......
»ù±¾Êý¾ÝµÄÀàÐ͵ĴóСÊǹ̶¨µÄ£¬ÕâÀï¾Í²»¶à˵ÁË¡£¶ÔÓÚ·Ç»ù±¾ÀàÐ͵ÄJava¶ÔÏ󣬯ä´óС¾ÍÖµµÃÉÌȶ¡£
ÔÚJavaÖУ¬Ò»¸ö¿ÕObject¶ÔÏóµÄ´óСÊÇ8byte£¬Õâ¸ö´óСֻÊDZ£´æ¶ÑÖÐÒ»¸öûÓÐÈκÎÊôÐԵĶÔÏóµÄ´óС¡£¿´ÏÂÃæÓï¾ä£º
Object ob = new Object();
ÕâÑùÔÚ³ÌÐòÖÐÍê³ÉÁËÒ»¸öJava¶ÔÏóµÄÉúÃü£¬µ«ÊÇËüËùÕ¼µÄ ......
JavaÐéÄâ»úÖУ¬Êý¾ÝÀàÐÍ¿ÉÒÔ·ÖΪÁ½Àࣺ»ù±¾ÀàÐͺÍÒýÓÃÀàÐÍ¡£»ù±¾ÀàÐ͵ıäÁ¿±£´æÔʼֵ£¬¼´£ºËû´ú±íµÄÖµ¾ÍÊÇÊýÖµ±¾Éí£»¶øÒýÓÃÀàÐ͵ıäÁ¿±£´æÒýÓÃÖµ¡£“ÒýÓÃÖµ”´ú±íÁËij¸ö¶ÔÏóµÄÒýÓ㬶ø²»ÊǶÔÏó±¾Éí£¬¶ÔÏó±¾Éí´æ·ÅÔÚÕâ¸öÒýÓÃÖµËù±íʾµÄµØÖ·µÄλÖá£
»ù±¾ÀàÐͰüÀ¨£ºbyte, short, int, long, char, float, double ......
public class Sort {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] arry = { 19, 10, 5, 45, 100, 30, 35, 29 };
int[] sortArry = mergeSort(arry);
for (int i = 0; i < sortArry.le ......