Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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


Ïà¹ØÎĵµ£º

javaÖÐÈçºÎʹÓÃamcharts


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

Java´Ó¿ØÖÆÌ¨ÖжÁÈ¡Êý¾ÝÍêÈ«¹¥ÂÔ

0¡¡ÒýÑÔ
   
´Ó¿ØÖÆÌ¨ÖжÁÈ¡Êý¾ÝÊÇÒ»¸ö±È½Ï³£ÓõŦÄÜ£¬ÔÚ JDK 5.0 ÒÔǰµÄ°æ±¾ÖеÄʵÏÖÊDZȽϸ´Ôӵģ¬ÐèÒªÊÖ¹¤´¦ÀíϵͳµÄÊäÈëÁ÷¡£ÓÐÒâ˼µÄÊÇ£¬´Ó JDK 5.0 °æ±¾¿ªÊ¼£¬ÄÜ´Ó¿ØÖÆÌ¨ÖÐÊäÈëÊý¾ÝµÄ·½·¨Ã¿Ôö¼ÓÒ»¸ö°æ±¾ºÅ£¬¾ÍÓÐÒ»ÖÖÐÂÔöµÄ·½·¨£¬ÕâÒ²Ôö¼ÓÁËÑ¡ÔñµÄÖÖÀ࣬¿ÉÒÔÒÀ¾Ý²»Í¬µÄÒªÇóÀ´½øÐÐÑ¡Ôñ¡£ÏÂÃæÀ´¿´Ò»Ï ......

JavaỊ̈߳º²¢·¢Ð­×÷ Éú²úÕßÏû·ÑÕßÄ£ÐÍ

¶ÔÓÚ¶àÏ̳߳ÌÐòÀ´Ëµ£¬²»¹ÜÈκαà³ÌÓïÑÔ£¬Éú²úÕߺÍÏû·ÑÕßÄ£ÐͶ¼ÊÇ×î¾­µäµÄ¡£¾ÍÏñѧϰÿһÃűà³ÌÓïÑÔÒ»Ñù£¬Hello World!¶¼ÊÇ×î¾­µäµÄÀý×Ó¡£
¡¡¡¡Êµ¼ÊÉÏ£¬×¼È·ËµÓ¦¸ÃÊÇ“Éú²úÕß-Ïû·ÑÕß-²Ö´¢”Ä£ÐÍ£¬À뿪Á˲ִ¢£¬Éú²úÕßÏû·ÑÕßÄ£Ð;ÍÏÔµÃûÓÐ˵·þÁ¦ÁË¡£
¡¡¡¡¶ÔÓÚ´ËÄ£ÐÍ£¬Ó¦¸ÃÃ÷ȷһϼ¸µã£º
¡¡¡¡1¡¢Éú²úÕß½ö½öÔÚ²Ö´ ......

ÆóÒµ¼¶JAVA¿ìËÙ¿ª·¢

²úÆ·ÏÂÔØhttp://www.fastunit.com/download/download.html ¸ñʽ
´óС£¨bytes£©
·¢²¼ÈÕÆÚ FastUnit 2.9 ÆÕ¼°°æ*
zip
16,707,279 / 15.9M
2010-05-18
µã»÷ÏÂÔØ ¡¶FastUnit¿ª·¢Êֲᡷ
pdf
1,716,405 / 1.63M
2010-05-13
µã»÷ÏÂÔØ ¡¶FastUnit¹ÜÀíÊֲᡷ
pdf
300,1 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ