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

JavaÖÐint ºÍ Integer µÄÇø±ð






< type="text/javascript">
document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
var text = clipboardData.getData("text");
if (text && text.length > 300) {
text = text + "\r\n\n±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£º" + location.href;
clipboardData.setData("text", text);
}
}, 100);
}
}

int ÊÇ»ù±¾ÀàÐÍ£¬Ö±½Ó´æÊýÖµ
integerÊǶÔÏó£¬ÓÃÒ»¸öÒýÓÃÖ¸ÏòÕâ¸ö¶ÔÏó
1.Java ÖеÄÊý¾ÝÀàÐÍ·ÖΪ»ù±¾Êý¾ÝÀàÐͺ͸´ÔÓÊý¾ÝÀàÐÍ
       int ÊÇÇ°Õß>>integer ÊǺóÕߣ¨Ò²¾ÍÊÇÒ»¸öÀࣩ
2.³õʼ»¯Ê±
       int i =1;
       Integer i= new Integer(1);(Òª°Ñinteger µ±×öÒ»¸öÀà¿´)
int ÊÇ»ù±¾Êý¾ÝÀàÐÍ£¨ÃæÏò¹ý³ÌÁôϵĺۼ££¬²»¹ýÊǶÔjavaµÄÓÐÒæ²¹³ä£©
Integer ÊÇÒ»¸öÀ࣬ÊÇintµÄÀ©Õ¹£¬¶¨ÒåÁ˺ܶàµÄת»»·½·¨
ÀàËƵĻ¹ÓУºfloat Float;double Double;string StringµÈ
¾Ù¸öÀý×Ó£ºµ±ÐèÒªÍùArrayList£¬HashMapÖзŶ«Î÷ʱ£¬Ïñint£¬doubleÕâÖÖÄÚ½¨ÀàÐÍÊǷŲ»½øÈ¥µÄ
£¬ÒòΪÈÝÆ÷¶¼ÊÇ×°objectµÄ£¬ÕâÊǾÍÐèÒªÕâЩÄÚ½¨ÀàÐ͵ÄÍ⸲ÀàÁË¡£
JavaÖÐÿÖÖÄÚ½¨ÀàÐͶ¼ÓÐÏàÓ¦µÄÍ⸲Àà¡£
      java ÌṩÁ½ÖÖ²»Í¬µÄÀàÐÍ£ºÒýÓÃÀàÐÍ£¨»òÕß·â×°ÀàÐÍ£¬Warpper£©ºÍԭʼÀàÐÍ£¨»òÄÚÖÃÀàÐÍ£¬Primitive£©¡£
IntÊÇjavaµÄԭʼÊý¾ÝÀàÐÍ£¬IntegerÊÇjavaΪintÌṩµÄ·â×°Àà¡£JavaΪÿ¸öԭʼÀàÐÍÌṩÁË·â×°Àà¡£
            ԭʼÀàÐÍ              ·â×°Àà
            boolean        


Ïà¹ØÎĵµ£º

Developing Games in Java£¨²¿·Ö£©

   Ô­ÎÄÀ´×ÔÓÚ¡¶Developing Games in Java¡·£¬×÷ÕߣºDavid Brackeen, Bret Barker, Laurence Vanhelsuwé
   JavaÔÚÉè¼Æʱ³ä·Ö¿¼ÂÇÁËÏß³Ì,Òò´ËÔÚJavaÖÐÏ̵߳IJÙ×÷±ÈÆäËûÓïÑÔÒª¼òµ¥¡£Ö»ÐèÉú³ÉÒ»¸öThreadÀàµÄʵÀý±ã¿É´´½¨Ò»¸öỊ̈߳¬È»ºóµ÷ÓÃstart()·½·¨Ï߳̾ÍÆô¶¯ÁË¡£
 &nbs ......

java ¶ÁÈ¡Ò»¸öexcel


try {
String source = "xxx.xls";
InputStream is = new FileInputStream(source);
Workbook rwb = Workbook.getWorkbook(is);
Sheet sheet = rwb.getSheet(0);
for (int i = 1; i < sheet.getRows(); i++) {
for (int j = 1; j < sheet.getColumns(); j++) {
//»ñÈ¡Ö¸¶¨µ¥Ôª¸ñ ......

javaÁìÓò¼´Ê±Í¨ÐŵĽâ¾ö·½°¸Ò»(openfire+spark+smack)

JavaÁìÓòµÄ¼´Ê±Í¨ÐŵĽâ¾ö·½°¸¿ÉÒÔ¿¼ÂÇopenfire+spark+smack¡£µ±È»Ò²ÓÐÆäËûµÄÑ¡Ôñ¡£
¡¡¡¡OpenfireÊÇ»ùÓÚJabberЭÒé(XMPP)ʵÏֵļ´Ê±Í¨ÐÅ·þÎñÆ÷¶Ë°æ±¾£¬Ä¿Ç°½¨ÒéʹÓÃ3.6.4°æ±¾£¬Õâ¸ö°æ±¾Êǵ±Ç°×îеİ汾£¬¶øÇÒÍøÉÏ¿ÉÒÔÕÒµ½ÏÂÔصÄÔ´´úÂë¡£
¡¡¡¡¼´Ê±Í¨ÐÅ¿Í»§¶Ë¿ÉʹÓÃspark2.5.8,Õâ¸ö°æ±¾ÊÇÄ¿Ç°×îеÄrelease°æ±¾£¬¾­¹ý²âÊÔ· ......

javaÁ·Ï°Ì⣬ºÜÈõÖÇ£¬µ«±Ï¾¹¾ø´ó²¿·ÖÊÇ×Ô¼ºÐ´µÄ

import java.io.*;
public class CheckVirusFile

   int virusCount=0,del_count=0,spe_count=0,nameCount=0;
   //ÓõݹéµÄ·½·¨¼ì²éFileÀàÐ͵IJÎÊýÊÇÎļþ»¹ÊÇĿ¼
   public void judgeDir(File virFile)
   {   
  if(!virFile.isDir ......

DWRÖÐJava·½·¨µÄ²ÎÊý¼°·µ»ØÖµ

DWRʹÓÃƪ
1¡¢µ÷ÓÃûÓзµ»ØÖµºÍ²ÎÊýµÄJava·½·¨
1.1¡¢dwr.xmlµÄÅäÖÃ
Xml´úÂë
<dwr>  
  <allow>  
    <create creator="new" javascript="testClass" >  
      <param name="class" value= ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ