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

javaλÔËËã

JAVAÖÐλÔËËã·û°üÀ¨:    &  |  ~   ^  <<   >>   >>>
Ò»¡¢Ê×ÏÈÒª¸ãÇå³þ²ÎÓëÔËËãµÄÊýµÄλÊý£º
   javaµÄ8ÖÖ»ù±¾ÀàÐÍ£ºbyte,short, char, int, long,float,double,boolean.
   ÔÚÄÚ´æÖй̶¨³¤¶È(×Ö½Ú)£º1      2       2       4     8     4       8      true/false
  
  ÕâЩ¹Ì¶¨ÀàÐ͵ij¤¶ÈÓë¾ßÌåµÄÈíÓ²¼þ»·¾³Î޹ء£ÕâÒ»µãÓëC++²»Í¬,JavaÖеÄcharÀàÐÍÓÃUnicodeÂë´¢´æ
  Óë´Ë¶ÔÓ¦µÄ£¬javaÌṩÁË8ÖÖ°ü×°ÀàÐÍ£º
  Byte,Short,Character,Integer,Long,Float,Double,Boolean.
  ËüÃÇÖ®¼äµÄÏ໥ת»»£ºÀýÈ磺
 double a=1;
  //°Ñdouble»ù±¾ÀàÐÍת»»ÎªDouble°ü×°ÀàÐÍ
 Double b=new Double(a);
 //°ÑDouble°ü×°ÀàÐÍת»»Îªdouble»ù±¾ÀàÐÍ
 a=b.doubleValue();
  Èçint i = 1;
  iµÄ¶þ½øÖÆÔ­Âë±íʾΪ£º
  00000000000000000000000000000001
  long l = 1;
  lµÄ¶þ½øÖÆÔ­Âë±íʾΪ£º
  0000000000000000000000000000000000000000000000000000000000000001
¶þ¡¢Ô­Âë——·ûºÅλΪ0±íʾÕýÊý£¬Îª1±íʾ¸ºÊý£»
 ÆäÓà¸÷λµÈͬÓÚÕæÖµµÄ¾ø¶ÔÖµ¡£
 È磺0000000000000010B=2£¬1000000000000010B=-2
·´Âë——·ûºÅλµÄÓ÷¨¼°ÕýÊýµÄ±íʾÓë“Ô­Âë”Ò»Ñù£»
 ¸ºÊýµÄ±íʾÊÇÔÚ“Ô­Âë”±íʾµÄ»ù´¡ÉÏͨ¹ý½«·ûºÅλÒÔÍâ
 µÄ¸÷λȡ·´À´»ñµÃµÄ¡£
 È磺0000000000000010B=2£¬1111111111111101B=-2
²¹Âë——·ûºÅλµÄÓ÷¨¼°ÕýÊýµÄ±íʾÓë“Ô­Âë”Ò»Ñù£»
 ¸ºÊýµÄ±íʾÊÇÔÚ“·´Â딵Ļù´¡ÉÏͨ¹ý¼Ó1À´»ñµÃµÄ¡£
 È磺00000010B=2£¬11111110B=-2
Èçint i = -1;
10000000000000000000000000000001,×î¸ßλÊÇ·ûºÅλ¡£ÕýÊýΪ0£¬¸ºÊýΪ1¡£
·ûºÅλ²»±ä£¬ÆäËûλÖðλȡ·´ºó£º
11111111111111111111111111111110,¼´·´Âë¡£
·´Âë¼Ó1£º
11111111111111111111111111111111,¼´²¹Âë¡£
=======================================================


Ïà¹ØÎĵµ£º

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......

¹ØÓÚJava Advanced Imaging(JAI)µÄÒ»µã»ýÀÛ

JAIµÄÈ·ÊǸö²»´íµÄ¶«¶«£¬Í¼ÐÎäÖȾÉÏÌṩÁ˱ȽϺõÄÀà·â×°ÒÔ¼°¿çƽ̨ÐÔ¡£²»ÖªµÀΪºÎJAI¾ÍÔÚ2006ÄêÖ¹²½ÔÚ1.1.3µÄ°æ±¾ÏÂÁË£¬Äª·ÇSun(Oracle)ÕæµÄÈ¥×öJava 2DµÄ·á¸»È¥ÁË¡£ÔÝʱ»¹Ã»Óп´µ½Java 2D·½ÃæµÄ×ÊÁÏ£¬ÏÈ°ÑJAIµÄÄÚÈÝÌù³öÀ´¡£
ÏÂÔØJAI¿ÉÒÔÈ¥ÕâÀï http://download.java.net/media/jai/builds/release/1_1_3/
ÏëÒªÁ˽âËüµÄ° ......

java¶ÁÈ¡mysqlÊý¾Ý¿âlatin1±ÜÃâÂÒÂë·½·¨

дÈëʱ£¬ÏÈ×öencode£º
public static String encode(String src) {
String result = null;
try {
result = new String(src.getBytes("gbk"), "ISO-8859-1");
} catch (UnsupportedEncodingException uee) {
System.err.println(uee);
}
return result;
}
¶Á³öʱ£¬ÔÙ×ödecode£º
public static String deco ......

ÔÚJavaÖлñȡϵͳÊôÐÔ

ÔÚJavaÖлñȡϵͳÊôÐÔ
 
ÔÚJavaÓ¦ÓóÌÐòÔËÐÐʱ£¬ÌرðÊÇÐèÒªÔÚ¿çƽ̨¹¤×÷»·¾³ÏÂÔËÐÐʱ£¬ÐèҪȷ¶¨²Ù×÷ϵͳÀàÐÍ¡¢Óû§JDK°æ±¾ºÍÓû§¹¤×÷Ŀ¼µÈË湤×÷ƽ̨±ä»¯µÄÐÅÏ¢£¬À´±£Ö¤³ÌÐòÕýÈ·ÔËÐС£Ò»°ãÇé¿öÏ£¬¿ÉÒÔÀûÓÃJDKÌṩµÄϵͳÊôÐÔÀࣨProperties£©Öеķ½·¨£¬¿ìËٵػñÈ¡¹¤×÷»·¾³ÐÅÏ¢¡£ÁíÍ⣬³ÌÐò¿ª·¢ÈËÔ±»¹¿ÉÒÔ¶¨ÒåÓëÓ¦Óà ......

javaÉú³ÉXMLÎļþ×Ô¶¯»»ÐÐÎÊÌâ

Java codeFormat ft=Format.getRawFormat();
ft.setEncoding("utf-8");
ft.setIndent("    ");//ÉèÖÃËõ½ø
       
XMLOutputter outputter=new XMLOutputter(ft);//ÉèÖÃXML¸ñʽ
Õâλ˵µÄ²»´í£»
ÔÚieÀïÃ棬ËüÄÜ°Ñxml×Ô¶¯½âÎö³ÆÊ÷Ðνṹ£¬ËùÒÔ¿´ÆðÀ´Ã»ÎÊÌ⣬ÔÚ¼Çʱ¾ÀïÃ棬¾Í²»ÐÐÁ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ