Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javaÊý¾Ý½á¹¹Ö®¶ÑÕ»Stack

¶ÑÕ»ÊÇÒ»ÖÖÏȽøºó³öµÄÊý¾Ý½á¹¹£¬Ö»ÄÜÔÚÒ»¶Ë½øÐÐÊäÈë»òÊä³öÊý¾ÝµÄ²Ù×÷  StackÀàÔÚjava.util°üÖÐ
ÏòÕ»ÖÐÊäÈëÊý¾ÝµÄ²Ù×÷³ÆΪ“ѹջ”£»¶ø´ÓÕ»ÖÐÊä³öÊý¾ÝµÄ²Ù×÷³ÆΪ“µ¯Õ»”
1.¹¹Ôì·½·¨£ºStack()
2.³£Ó÷½·¨
     public Object push(Object data)£ºÏòÕ»ÖÐÊäÈëÊý¾Ý£¬ÊµÏÖѹջ²Ù×÷
     public Object pop()£ºÊä³öÊý¾Ý£¬ÊµÏÖµ¯Õ»²Ù×÷
     public boolean empty()£ºÅжÏÕ»ÖÐÊÇ·ñûÓÐÊý¾Ý
     public Object peek()£º·µ»ØÕ»¶¥¶ËµÄÊý¾Ý£¬µ«²»ÄÜɾ³ý¸ÃÊý¾Ý
     public int search(Object data)£º»ñÈ¡Ö¸¶¨Êý¾ÝÔÚÕ»ÖеÄλÖã¬×¶ËµÄλÖÃÊÇ1£¬ÏòÏÂÒ»´ÎÔö¼Ó£¬Èç¹û¶ÑÕ»²»º¬´ËÊý¾Ý£¬Ôò·µ»Ø-1
               


Ïà¹ØÎĵµ£º

Linux Java»·¾³ÅäÖð²×°

Ò»¡¢°²×°JDK
°²×°°üÃûΪ£ºjdk-1_5_0_18-linux-i586.rpm.bin
°²×°²½Ö裺
1. ÒÔrootÉí·ÝµÇ¼Linux²Ù×÷ϵͳ
2. ½«jdk-1_5_0_18-linux-i586.rpm.bin°²×°°üÉÏ´«µ½/tmpĿ¼ÏÂ, ¼ì²âÈ·±£jdk-1_5_0_18-linux-i586.rpm.binÓпÉÖ´ÐÐȨÏÞ£»
Èç¹ûjdk-1_5_0_18-linux-i586.rpm.binûÓпÉÖ´ÐÐȨÏÞ£¬¿ÉʹÓÃÒ»ÏÂÃüÁîÌí¼Ó
#c ......

java Êý×ÖÖ¤ÊéÐÅÏ¢µÄ»ñȡʵÀý javaѧϰ±Ê¼Ç(2)

ÓÃjavaÌṩµÄapiʵÏÖ´ÓÖ¤ÊéÎļþ(±¾ÊµÀýʵÑé¶ÔÏóΪ*.cerÎļþ)ÖлñÈ¡ÓÐЧÐÅÏ¢µÄ·½·¨..
public static X509Certificate getCert(String fileName) throws Exception {//´ÓÒ»¸öÓÐЧµÄÖ¤ÊéÎļþÀ´´´½¨Ö¤Êé..
InputStream inStream = new FileInputStream(fileName);
CertificateFactory cf = CertificateFactory.get ......

JavaÏß³Ì×ܽá

Ò»Ìáµ½Ï̺߳ÃÏñÊǼþºÜÂé·³ºÜ¸´ÔÓµÄÊ£¬ÊÂʵÉÏȷʵÈç´Ë£¬Éæ¼°µ½Ï̵߳ıà³ÌÊǺܽ²¾¿¼¼Çɵġ£Õâ¾ÍÐèÒªÎÒÃDZ任˼ά·½Ê½£¬Á˽âÏ̻߳úÖƵıȽÏͨÓõļ¼ÇÉ£¬Ð´³ö¸ßЧµÄ¡¢²»ÒÀÀµÓÚij¸öJVMʵÏֵijÌÐòÀ´¡£±Ï¾¹½ö½ö¾ÍJava¶øÑÔ£¬¸÷¸öÐéÄâ»úµÄʵÏÖÊDz»Í¬µÄ¡£Ñ§Ï°Ïß³Ìʱ£¬×îÁîÎÒÓ¡ÏóÉî¿ÌµÄ¾ÍÊÇÄÇÖÖ²»È·¶¨ÐÔ¡¢Ã»Óб£ÕÏÐÔ£¬¸÷¸öÏ̵߳ÄÔËÐÐÍ ......

µ÷ÊÔJava Web Start

Ô¶³Ìµ÷ÊÔjava web start ÓÃjavawÆô¶¯³ÌÐò¼´¿É£ºÈçÏ "D:\tools\jdk6.0\bin\javaws"  -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5016 d:\login.jsp.jnlp È»ºóÔÚeclipseÀïÃæ ½¨Á¢ Ô¶³Ìµ÷ÊÔ Á¬µ½5016¶Ë¿Ú¾Í¿ÉÒÔÁË¡£ jnlpÎļþ ×Ô¼º´Ó·þÎñÆ÷ÉÏÏÂÔØÏÂÀ´¾ÍºÃ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ