¹ØÓÚBooleanÀàÐÍÔÚflexÓëjavaÖм䴫µÝµÄÎÊÌâ
¡¡¡¡×î½üÔÚ¿ª·¢¹ý³ÌÖз¢ÏÖÒ»¸öÎÊÌ⣺BooleanÀàÐ͵ÄÖµÎÞ·¨ÔÚflexºÍjava¼ä´«µÝ£¬¾¹ýÒ»¶ÎÑо¿·¢ÏÖ£¬ÎÊÌâ³öÏÖÔÚBooleanÀàÐ͵ÄgetterºÍsetter·½·¨ÉÏ¡£
°´ÕÕjavabeanµÄ¹æ·¶£¬Ð¡²¼¶ûÀàÐ͵ÄgetterÊÇÒÔis×öǰ׺µÄ£¬µ«ÊÇ´ó²¼¶ûÀàÐ͵Ägetter¾Í³ÉÁËÒÔgetΪǰ׺ÁË£¨´ó²¼¶û×÷ΪÒýÓÃÀàÐÍ£¬ÒѾ±»ÊÓΪÆÕͨµÄObjectÁË£©¡£
ÀýÈ磺
¡¡¡¡¶ÔÓÚ×Ö¶Îprivate boolean enable;ÆägetterºÍsetterÈçÏ£º£¨Ìرð˵Ã÷µÄÊÇ£ºÈç¹ûÕâÀïµÄenable¸Ä³ÉisEnable£¬getterºÍsetter»¹ÊÇÏÂÃæµÄÕâÁ½¸ö£©
public boolean isEnable() {
return enable;
}
public void setEnable(boolean enable) {
this.enable = enable;
}
¡¡¡¡¶ÔÓÚ×Ö¶Îprivate Boolean editable;ÆägetterºÍsetterÈçÏ£º
public Boolean getEditable() {
return editable;
}
public void setEditable(Boolean editable) {
this.editable = editable;
}
¡¡¡¡µ±BooleanÀàÐÍÖµÔÚflex½«Ç°Ì¨ºÍjavaºǫ́´«µÝʱ£¬Õâ¸öÖµ»á±»ÐòÁл¯£¬µ±ÔÚºǫ́½âÎö³öÀ´Ê±¾ÍÊÇjavaµÄ´ó²¼¶ûÀàÐÍ£¬´Ëʱϵͳ»áÒÀ¾Ý´ó²¼¶ûÀàÐ͵ÄgetterºÍsetterÀ´ÉèÖµ£¬Èç¹û´ËʱÄãµÄjava¶ÔÏóÉùÃ÷µÄ¶ÔÓ¦×Ö¶ÎÊÇÒ»¸öС²¼¶ûÀàÐÍ£¬Éú³ÉµÄgetterÒ²ÊÇisΪǰ׺µÄ»°£¬ÏµÍ³¾ÍÎÞ·¨ÕÒµ½¶ÔÓÚµÄgetterºÍsetterÀ´ÉèÖµ¡£Õâ¾ÍÊÇÎÊÌâµÄÔÒòËùÔÚ¡£
Ïà¹ØÎĵµ£º
Ubuntu/debian ¸ü¸ÄĬÈÏJava»·¾³
ÎҵĵçÄÔÀï°²×°ÁËÁ½¸ö°æ±¾µÄJava£¬Ò»¸öÊÇjava-6-sun£¬»¹ÓÐÒ»¸öÊÇjava-gcj
gcjÊÇÔÚJVM·Ç³£»ºÂýµÄʱºòµ®ÉúµÄ£¬Ëû¿ÉÒÔ°ÑJava´úÂë±àÒë³É±¾µØ´úÂë £¬¹ØÓÚgcjÔÝÇÒ˵Õâô¶à£¬»Øµ½Ö÷Ìâ¡£
ÐÞ¸ÄĬÈÏjava»·¾³Óõ½ÃüÁîupdate-java-alternatives
1¡¢Ê¹ÓÃupdate-java-alternatives -l²é¿´Ä¿Ç°ÒѾ°²×° ......
Èç¹ûÄãÔø¾ÓùýPerl»òÈÎºÎÆäËûÄÚ½¨ÕýÔò±í´ïʽ֧³ÖµÄÓïÑÔ£¬ÄãÒ»¶¨ÖªµÀÓÃÕýÔò±í´ïʽ´¦ÀíÎı¾ºÍÆ¥ÅäģʽÊǶàô¼òµ¥¡£Èç¹ûÄã²»ÊìϤÕâ¸öÊõÓÄÇô“ÕýÔò±í´ïʽ”£¨Regular Expression£©¾ÍÊÇÒ»¸ö×Ö·û¹¹³ÉµÄ´®£¬Ëü¶¨ÒåÁËÒ»¸öÓÃÀ´ËÑË÷Æ¥Åä×Ö·û´®µÄģʽ¡£
Ðí¶àÓïÑÔ£¬°üÀ¨Perl¡¢PHP¡¢Python¡¢JavaScriptºÍJScript£¬¶¼Ö ......
ת×Ô£ºhttp://hi.baidu.com/wosinmaiken/blog/item/ee59f7a8f72604bdca130c24.html
/**ceil Ïòǰ(ÊýÖáÏòÓÒ)È¡Õû(·µ»ØÖµÎªNumber)**/
trace(Math.ceil(10.4)); //11
trace(Math ......
sqlserverÊý¾Ý¿â£ºjavaÁ¬½Ósqlserver2005Êý¾Ý¿âÐĵÃÌå»á
Ê×ÏȵÃÏÂÔØÇý¶¯³ÌÐòµ½Î¢ÈíÍøÕ¾ÏÂÔØMicrosoft SQL Server 2005 JDBC Driver 1.2¡¡¡¡½âѹMicrosoft SQL Server 2005 jdbc driver1.2.exe
µÃµ½sqljdbc.jar£¬ÓõÃʱºòÖ±½Ó¼Óµ½classpathÖÐÈ¥.
¡¡ÉèÖÃSQL Server·þÎñÆ÷
·ÀÖ¹³öÏÖ
com.mi ......
1.ʹÓÃHttpClient
Óõ½µÄjarÎļþ£ºcommons-httpclient-3.1.jar
·½·¨£º
Ô¤Ïȶ¨ÒåºÃSoapÇëÇóÊý¾Ý£¬¿ÉÒÔ½èÖúÓÚXMLSpy ProfessionalÈí¼þÀ´×öÕâÒ»²½Éú³É¡£
String soapRequestData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
"<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instanc ......