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

ÓÃJAVAʵÏÖ¶ÑÕ»£¨Á´±íƪ£©

ʲôÊǶÑÕ»£¬¹ØÓÚÕâ¸öÃû´Ê£¬ÎÒÔڰٶȣ¬googleËÑË÷ÁË°ëÌ죬ҲûÓз¢ÏÖÒ»¸ö±È½ÏȨÍþµÄ½âÊÍ£¬»¹ÓÐÐí¶à×ÊÁÏÓïÑɲ»Ï꣬¾ÍÒÔά»ù°Ù¿ÆµÄ½âÊÍΪ׼°É£¬ºÍÎÒ¼ÇÒäÖеÄÒ»Ö¡£
¶ÑÕ»£¨Ó¢ÎÄ£ºstack£©£¬Öйú´ó½×÷¶ÑÕ»£¬Ì¨Íå×÷¶Ñµþ£¬ÔÚ¼ÆËã»ú¿Æ學ÖУ¬ÊÇÒ»種ÌØÊâµÄ´®ÁÐÐÎʽµÄ資ÁÏ結構£¬ËüµÄÌØÊâÖ®處ÔÚì¶Ö»ÄÜÔÊ許ÔÚ鏈結´®Áлò陣ÁеÄÒ»¶Ë£¨稱為¶Ñ疊頂¶ËÖ¸標£¬Ó¢ÎÄ為top£©進ÐмÓÈë資ÁÏ£¨push£©ºÍ輸³ö資ÁÏ£¨pop£©µÄ運Ëã¡£ÁíÍâ¶Ñ疊Ò²¿ÉÒÔÓÃÒ»維陣Áлò連結´®ÁеÄÐÎʽ來Íê³É¡£¶Ñ疊µÄÁíÍâÒ»個Ïà對µÄ²Ù×÷·½Ê½稱為佇ÁС£
ÓÉ춶Ñ疊資ÁÏ結構Ö»ÔÊ許ÔÚÒ»¶Ë進ÐвÙ×÷£¬Òò¶ø°´ÕÕáá進Ïȳö£¨LIFO, Last In First Out£©µÄÔ­Àí運×÷¡£
¶Ñ疊資ÁÏ結構ʹÓÃ兩種»ù±¾²Ù×÷£ºÍÆÈ루push£©ºÍ彈³ö£¨pop£©£º
ÍÆÈ루push£© £º將數據·ÅÈë¶Ñ疊µÄ頂¶Ë£¨陣ÁÐÐÎʽ»ò´®ÁÐÐÎʽ£©£¬¶Ñ疊頂¶ËtopÖ¸標¼ÓÒ»¡£
彈³ö£¨pop£©  £º將頂¶Ë數據資ÁÏ輸³ö£¨»Ø傳£©£¬¶Ñ疊頂¶Ë資ÁÏ減Ò»¡£
ÏÂÃæÊÇÓÃjava Á´±í ʵÏÖ¶ÑÕ»
/**
* ±íʾÁ´±íµÄÒ»¸ö½Úµã
* @author Adair
*/
public class Node{
Object element;
Node next;

public Node(Object element) {
this(element, null);
}
public Node(Object element, Node n) {
this.element = element;
next = n;
}
public Object getElement() {
return element;
}
public void setElement(Object element) {
this.element = element;
}
public Node getNext() {
return next;
}
public void setNext(Node next) {
this.next = next;
}
}
/**
* ÓÃÁ´±íʵÏÖ¶ÑÕ»
* @author Adair
*/
public class ListStack
{
Node header; //Õ»¶¥ÔªËØ
int elementCount;// Õ»ÄÚÔªËظöÊý
int size;// Õ»µÄ´óС
/**
* ¹¹Ô캯Êý£¬¹¹ÔìÒ»¸ö¿ÕµÄ¶ÑÕ»
*/
public ListStack()
{
header = null;
elem


Ïà¹ØÎĵµ£º

JNAʵÏÖJavaµ÷ÓÃFortran

Ôڳɹ¦ÊµÏÖJavaµ÷ÓÃC++Ö®ºó£¬½ÓÏÂÀ´Ïëµ½ÄÜ·ñͨ¹ýJNAʵÏÖJavaµ÷ÓÃFortran£¬½ñÌìÊÔÑéÁËһϣ¬»¹ÊDZȽÏÈÝÒ׵ġ£
ÍøÉÏÓÐÒ»¸öJavaµ÷ÓÃF95µÄÀý×Ó£¬µ«ÊÇÎÒ¿¼ÂDz»½öҪʵÏÖF95µÄµ÷Ó㬻¹ÒªÊµÏÖF77µÄµ÷Óã¬ËùÒÔ·ÑÁËһЩÖÜÕÛ¡£
ÎÊÌâµÄ¹Ø¼üÔÚÓÚF77Ϊ¹ý³ÌÃû×Ô¶¯Ìí¼ÓÁËÒ»¸öβ²¿µÄÏ»®Ïߣ¬ËùÒÔsub1Õâ¸ö¹ý³Ì£¬µ½JavaÒ»¶Ë£¬¾Í±ä³ÉÁËsub1_£¬ ......

javaÖÐÈçºÎʹÓÃamcharts


×î½ü¹«Ë¾Åöµ½ÐèÒªÓÃͼ±íµÄÐÎʽÏÔʾһЩÊý¾Ý£¬ÎҾͿªÊ¼µ½ÍøÉϲéѯ£¬²éµ½ÁËjfreechartºÍamcharts,ÕâÁ½ÕßÎÒ¶¼ÊµÏÖ¹ýÁË£¬jfreechart×îºóÉú³ÉͼƬ£¬µ«ÊÇͼƬЧ¹û²»ÊÇÎÒÏëÒªµÄ£¬È»ºóÓÖÑо¿amcharts ËüµÄЧ¹ûȷʵºÜºÃ£¬¶øÇÒ¹Ù·½ÍøÕ¾ÉÏ»¹ÓкÃЩÀý×ӿɹ©ÏÂÔØ£¬ÍøÖ·ÊÇ:www.amcharts.com
£¨ÏëÒªÍê³ÉÒ»¸öamchartsͼÐÎÐèÒªswfobjects. ......

Ubuntu8.1Ï°²×°JDK£¬ÅäÖà JavaÔËÐл·¾³

°²×°ÍêUbuntu8.1Ö®ºó£¬Èç¹ûÏëÒª¿ª·¢»òÔËÐÐJava³ÌÐò£¬¾ÍÐèÒª°²×°JDK»òJRE¡£ÏÂÃæ¾Í½éÉÜÒ»ÖÖ×îΪ¼ò±ãµÄÔÚUbuntuÖа²×°JDK
µÄ·½·¨¡£
ÖÚËùÖÜÖª£¬Sun¹«Ë¾¶ÔÓÚLinuxϵĵÄJDK°²×°¿ØÖÆÊÇÏ൱Ñϸñ£º£¨1£©Ô¤±àÒë³É¶þ½øÖƵÄJDK°üÊÇÐèҪȡµÃSun¹«Ë¾ÊÚȨµÄ£»£¨2£©Sun¹«
˾ÓÐ×Ô¼ºµÄUnix²Ù×÷ϵͳ¡£»òÐíÊÇÒòΪÕâÁ½µãÔ­Òò£¬Ä¿Ç°ÔÚLinux»òU ......

Java·´Éä»úÖÆ

JavaÖÐÌṩÁËClassÀ࣬¿ÉÒÔͨ¹ýClassÀà»ñÈ¡ÀàµÄ¶¨ÒåÐÅÏ¢£¬°üÀ¨°üÃû¡¢ÀàÃû¡¢ÀàÉϵÄ×¢ÊÍ£¨Annotation£©¡¢ÀàµÄÐÞÊηû¡¢¸¸Àà¡¢¼Ì³ÐµÄ½Ó¿Ú¡¢¹¹Ôì·½·¨¡¢³ÉÔ±±äÁ¿ºÍ³ÉÔ±·½·¨¡£ÕâЩÐÅÏ¢·Ö±ðʹÓÃjava.lang.annotation.Annotation¡¢ java.lang.reflect.Constructor¡¢java.lang.reflect.Field¡¢java.lang.reflect.Method¡¢java.lang.re ......

ÓÃJAVAʵÏÖ¶ÑÕ»£¨Êý×éƪ£©

ʲôÊǶÑÕ»£¬¹ØÓÚÕâ¸öÃû´Ê£¬ÎÒÔڰٶȣ¬googleËÑË÷ÁË°ëÌ죬ҲûÓз¢ÏÖÒ»¸ö±È½ÏȨÍþµÄ½âÊÍ£¬»¹ÓÐÐí¶à×ÊÁÏÓïÑɲ»Ï꣬¾ÍÒÔά»ù°Ù¿ÆµÄ½âÊÍΪ׼°É£¬ºÍÎÒ¼ÇÒäÖеÄÒ»Ö¡£
¶ÑÕ»£¨Ó¢ÎÄ£ºstack£©£¬Öйú´ó½×÷¶ÑÕ»£¬Ì¨Íå×÷¶Ñµþ£¬ÔÚ¼ÆËã»ú¿Æ學ÖУ¬ÊÇÒ»種ÌØÊâµÄ´®ÁÐÐÎʽµÄ資ÁÏ結構£¬ËüµÄÌØÊâÖ®處ÔÚì ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ