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

JavaÓëFlexÇø±ð¶þ£ºÕûÊý³ý·¨¡¢±äÁ¿¶¨Òå¡¢Êý×éȡֵ

ÔÚJavaÀïÃæ£¬Á½¸öÕûÊýÏà³ýµÃµ½ÊǸöÕûÊý£¬±ÈÈç int a = 28;
int b = 10;
a/b == 2; //true
ÔÚFlexÖУ¬ÉÏÃæJava´úÂ뽫·µ»ØÍ¬ÑùµÄ½á¹û¡£ÖµµÃ×¢ÒâµÄÊÇ£¬Èç¹ûʹÓõÄÊÇNumberÀ࣬ÔòÓÐËù²»Ò»ÑùÁË¡£ÏÂÃæµÄ´úÂëÖУ¬resultµÄֵΪ2.8¡£Èç¹ûÄ㲻СÐİѷµ»ØµÄ½á¹û×÷ΪÊý×éµÄË÷ÒýȥȡֵµÄ»°£¬ÄÇôʲô½á¹û¶¼Ã»ÓС£
var a:Number = 28;
var result:Number = a / 10; // result == 2.8
ÔÚJavaÖУ¬¶¨Òå±äÁ¿ÊÇÀàÐÍÔÚǰ£¬±äÁ¿ÃûÔں󣬱ÈÈçint a¡£
ÔÚFlexÖУ¬¶¨Òå±äÁ¿ÊDZäÁ¿ÃûÔÚǰ£¬ÀàÐÍÔÚºó£¬ÖмäÓ÷ֺŸô¿ª£¬¶øÇÒÇ°Ãæ»¹±ØÐë¼ÓÉÏvar¡£±ÈÈç var i:int¡£
²»ÖªµÀÉè¼ÆActionScriptµÄÀÏʦΪʲôҪ²ÉÓÃÕâÖÖ·½Ê½£¬ÕâÑùÃ÷ÏÔÒª¶àÇü¸Ï¼üÅÌ£¬»¹Òª¶àÕ¼Óô洢¿Õ¼ä£¬Ôö¼ÓÁË̼ÅÅ·Å¡£¸Õ¸ÕдFlex´úÂëµÄʱºò£¬¾­³£»¹Êǰ´ÕÕJavaµÄ·½Ê½À´¶¨Òå±äÁ¿ºÍ·½·¨£¬Èç¹ûÓÐЩ±àÒë´íÎ󣬿´¿´ÊDz»ÊÇÕâ¸öÔ­Òò¡£
ÔÚJavaÖУ¬Èç¹ûÓÃ-1È¥´ÓÊý×éÀïÃæÈ¡Öµ£¬»á·¢ÉúArrayIndexOutofBoundException£¬µ«ÊÇÔÚFlexÀïÃæ£¬Ëü²»»á·¢ÉúÒì³££¬Ö»ÊÇ·µ»ØNaN¡£Èç¹û·¢ÉúÆæ¹ÖµÄÎÊÌ⣬¿´¿´ÊDz»ÊÇÕâ¸öÔ­Òò¡£
 
ÒÔÉÏÄÚÈݶ¼ÊÇÔÚʵ¼ÊʹÓùý³ÌÖÐ×ܽáµÄ£¬¿Ï¶¨²»È«Ã棬»¹Çë¼ûÁ¡£


Ïà¹ØÎĵµ£º

Flex¶ÁÈ¡ä¯ÀÀÆ÷²ÎÊý

Õâ¸öÀàÌṩµÄ¹¦ÄÜÓУº
´Óä¯ÀÀÆ÷ÖлñÈ¡ÍêÕûµÄURL
Ö÷»úÃû
µ±Ç°ËùʹÓõÄЭÒé
¶Ë¿Ú
Ö÷ÓòÃûºóÃæµÄ·¾¶
²ÎÊýÖµ
Ô­ÎĵØÖ·£ºhttp://www.flexpasta.com/index.php/2008/03/15/getting-url-parameters-host-name-port-in-flex-actionscript/
package com.flexpasta.utils
{
import flash.external.ExternalInterface;
im ......

JavaÖм¯ºÏÈÝÆ÷ÀàListºÍSetµÄÓ÷¨

ListµÄÓ÷¨
List°üÀ¨List½Ó¿ÚÒÔ¼°List½Ó¿ÚµÄËùÓÐʵÏÖÀà¡£ÒòΪList½Ó¿ÚʵÏÖÁËCollection½Ó¿Ú£¬ËùÒÔList½Ó¿ÚÓµÓÐCollection½Ó¿ÚÌṩµÄËùÓг£Ó÷½·¨£¬ÓÖÒòΪListÊÇÁбíÀàÐÍ£¬ËùÒÔList½Ó¿Ú»¹ÌṩÁËһЩÊʺÏÓÚ×ÔÉíµÄ³£Ó÷½·¨£¬Èç±í1Ëùʾ¡£
±í1  List½Ó¿Ú¶¨ÒåµÄ³£Ó÷½·¨¼°¹¦ÄÜ
´Ó±í1¿ÉÒÔ¿´³ö£¬List½Ó¿ÚÌṩµÄÊʺÏÓÚ×ÔÉíµÄ ......

MyEclipse°²×°Flex 3 ²å¼þ¼°Ð½¨FlexÏîÄ¿

Ò»¡¢×¼±¸¹¤×÷£º
ËùÐèÒªµÄÈí¼þ£º
Eclipse 3.5.2 : http://d2u376ub0heus3.cloudfront.net/eclipse/downloads/drops/R-3.5.2-201002111343/eclipse-SDK-3.5.2-win32.zip
Eclipse 3.5ºº»¯°ü£ºhttp://eclipse.stu.edu.tw/technology/babel/babel_language_packs/BabelLanguagePack-eclipse-zh_3.5.0.v20091121043401.zip ......

Java ʹÓÃSSHÁ¬½ÓLinux ʹÓÃpasswdÃüÁîÐÞ¸ÄÃÜÂë


ʹÓÃInputStreamºÍOutputStreamÀ´»ñµÃÃüÁîÐÐÔËÐнá¹ûºÍÊäÈëÄÚÈÝÊÇÊ×ÏÈÐèÒª¾ß±¸µÄ.
È»ºóÒª½â¾öSSHÁ¬½ÓÎÊÌâ.
ÔÚOpenSourceÏîÄ¿ÀïÕÒµ½ÁËGanymed SSH-2 for Java .ÏÂÔØºóÓÐÀý×Ó,µ«ÊÇûÓÐÕÒµ½Óйؽ»»¥ÃüÁîµÄÀý×Ó.ËùÒÔ×Ô¼ºÌ½Ë÷ÁËÒ»ÏÂ
ÔÚÍøÉÏ¿´ÓÐÀÏÍâÌÖÂÛÓÃÕâ¸öÈçºÎ¸ÄÃÜÂë,»ù±¾ÉϵÄÎÊÌâ¶¼ÊÇÒòΪÕÒ²»µ½·µ»ØµÄÌáʾ
LinuxÐÞ¸ÄÃÜ ......

JAVAÓëXML_¶ÁÊé±Ê¼Ç_2010 05 14

JAVATMÓëXML 2010-05-14
Ò»¡¢¸ÅÄî
l  ÈκÎXMLÎĵµ¶ÔÈκÎÀàÐ͵ÄÓ¦ÓÃÒÔ¼°ÕýÈ·µÄ½âÎö¶¼±ØÐë¾ßÓÐÁ¼ºÃµÄ½á¹¹well-formed
l  XMLÎĵµ¿ÉÒÔÊÇÓÐЧµØ£¨valid£©£¬µ«²¢·ÇÒ»¶¨ÒªÇóÓÐЧ¡£
l  PI£¨processing instruction£©¸ñʽ£º<?target instructions?>¡£XMLÖеĴ¦ÀíÖ¸ÁîÖ»ÄÜÊǽâÎöÆ÷¿ÉÒÔʶ±ðµÄXML±ê×¼´¦ÀíÃüÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ