JAVA ¶¯Ì¬¹¹½¨Ê÷(1)
1. ¶Ô×Ô¼ºµÄ×ܽáºÍÀí½âµÄÉý»ªÊÇÎÒϲ»¶×öµÄÒ»¼þÊ£¬ÔÚʵ¼ÊÏîÄ¿¹ý³ÌÖУ¬ºÜ¶àµØ·½¶¼Óõ½¶¯Ì¬Éú³ÉÊ÷Ðβ˵¥µÄµØ·½£¬ÏÖÔھ͸ø´ó¼Ò½²½²ÈçºÎ¶¯Ì¬Éú³ÉÒ»¿ÃÊ÷¡£
2. Ê×ÏÈÎÒÃDZØÐëÒª½¨Á¢Ê÷µÄ½ÚµãÄ£ÐÍ£¬ÆäʵÊ÷µÄ½ÚµãÄ£ÐÍÖÐÍùÍù¾ÍÊÇÎÒÃÇÐèÒª´æ·ÅµÄÊý¾Ý¶ÔÏ󣬺ܶàʱºò£¬ÎÒÃÇÈ¡µÃµÄµ½µÄÊý¾Ý¶ÔÏó¶¼ÊÇÒÔListµÄ·½Ê½À´¸øÎÒÃǵġ£¶¯Ì¬Éú³ÉÊ÷Î޷ǾÍÊǽ«Ã»ÓйæÂɵÄÒ»¸öÁÐ±í£¬Í¨¹ýListµÄ·½Ê½£¬Éú³ÉÓÐ×éÖ¯¡¢ÓÐ˳ÐòµÄListÊý¾Ý¶ÔÏóÁÐ±í¡£
Ê÷½ÚµãÄ£ÐÍ£º
import java.util.ArrayList;
/**
* ͨÓÃÊ÷½ÚµãÄ£ÐÍ£¬¸Ã½ÚµãÄ£ÐÍÊÇÎÒÃÇÊý¾Ý¶ÔÏóµÄÔØÌå
* ͨ¹ý¶ÔÊ÷µÄ²Ù×÷£¬´ïµ½¶ÔÊý¾Ý¶ÔÏóµÄ²Ù×÷
* @author ÏļҼª<jijin0223@126.com>
*
*/
public class CommonTreeNode {
private ArrayList children;
private String name;
private CommonTreeNode parent;
private SystemMenu systemMenu;//ÔÚ´Ë´¦¾ÍÊÇÎÒÃÇËù¶ÔÓ¦µÄÊý¾Ý¶ÔÏó
public CommonTreeNode(String name){
this.name=name;
children = new ArrayList();
}
public void addChild(CommonTreeNode obj){
children.add(obj);
obj.setParent(this);
}
public void removeChild(CommonTreeNode obj){
children.remove(obj);
obj.setParent(null);
}
public void setParent(CommonTreeNode parent){
this.parent=parent;
}
public CommonTreeNode getParent(){
return this.parent;
}
public ArrayList getChildren(){
return children;
Ïà¹ØÎĵµ£º
ÔÚͨ¹ýDNS²éÕÒÓòÃûµÄ¹ý³ÌÖУ¬¿ÉÄܻᾹý¶ą̀ÖмäDNS·þÎñÆ÷²ÅÄÜÕÒµ½Ö¸¶¨µÄÓòÃû£¬Òò´Ë£¬ÔÚDNS·þÎñÆ÷ÉϲéÕÒÓòÃûÊǷdz£°º¹óµÄ²Ù×÷¡£ÔÚJavaÖÐΪÁË»º½âÕâ¸öÎÊÌ⣬ÌṩÁËDNS»º´æ¡£µ±InetAddressÀàµÚÒ»´ÎʹÓÃij¸öÓòÃû£¨Èçwww.csdn.net£©´´½¨InetAddress¶ÔÏóºó£¬JVM¾Í»á½«Õâ¸öÓòÃûºÍËü´ÓDNSÉÏ»ñµÃµÄÐÅÏ¢£¨ÈçIPµØÖ·£©¶¼±£´æÔÚDNS»º´æÖ ......
umlet ʹÓÃjava±àдµÄÒ»¿îСÐÍuml¹¤¾ß£¬¿ÉÒÔ×÷ΪeclipseµÄ²å¼þ°²×°£¬Ò²¿ÉÒÔ¶ÀÁ¢ÔËÐС£
umletÕæ¿Éν¶ÌС¾«º·£¬·Ç³£Ö®Ð¡£¬ÈÝÒ×ÉÏÊÖ£¬ÎÒϲ»¶ÕâÑù¼òµ¥ÊµÓõÄÈí¼þ¡£
umlet²»Ö§³Ö·´ÏòµÈ¸ß¼¶¹¦ÄÜ¡£
UMLet is a UML tool aimed at providing a fast way of creating UML diagrams. UML elements are modified using text input i ......
JavaÐÔÄܵÄÓÅ»¯£¨Ò»£©
JavaÔÚ¾ÅÊ®Äê´úÖÐÆÚ³öÏÖÒÔºó£¬ÔÚÓ®µÃÔÞ̾µÄͬʱ£¬Ò²ÒýÀ´ÁËһЩÅúÆÀ¡£Ó®µÃµÄÔÞ̾Ö÷ÒªÊÇJavaµÄ¿çƽ̨µÄ²Ù×÷ÐÔ£¬¼´ËùνµÄ”Write Once,Run Anywhere”.µ«ÓÉÓÚJavaµÄÐÔÄܺÍÔËÐÐЧÂÊͬCÏà±È£¬ÈÔÈ»ÓкܴóµÄ²î¾à£¬´Ó¶øÒýÀ´Á˺ܶàµÄÅúÆÀ¡£
¶ÔÓÚ·þÎñÆ÷¶Ëµ ......
н¨javaÏîÄ¿£¬ÐèÒª½¨Á¢ÈçͼËùʾµÄ°ü½á¹¹£¨ÕâͼÊǺóÃæ²¹Éϵģ¬ËùÒÔÀïÃæÓн¨ºÃµÄÀࣩ£º
µã»÷ÏîÄ¿£¬ÓÒ¼üÑ¡Ôñ-¡·ÊôÐÔ-¡·Ìí¼Ó×Ô¶¨Òå¿â£º
¼á³ÖÒÔ×îÉÙ°üÔÔò£¬ÀýÈ磺
Íê³ÉÈçÏÂͼËùʾ£º
ÏîÄ¿½á¹¹´óÖÂÈçÏ£º
¶ÔBookService½ ......
1. ·ÖÒ³µÄ½â¾ö·½°¸£¬Í¨ÓÃÐÔ£¬·Öҳʱ²ÎÊý¶ªÊ§ÎÊÌ⣬ÈçºÎ½â¾ö£¿
2. HibernateÓÅ»¯ÎÊÌâ¡£ÈçºÎÓÅ»¯Êý¾Ý¿â·ÃÎÊ£¬Ê¹³ÌÐò·ÃÎÊÊý¾Ý¿â¸üÓÅ»¯¡£
¡¡³õÓÃHIBERNATEµÄÈËÒ²Ðí¶¼Óöµ½¹ýÐÔÄÜÎÊÌ⣬ʵÏÖ ......