JAVAרҵÊõÓO
JAVAרҵÊõÓO
API£ºJava ApplicationProgrammingInterface API£¨Ó¦ÓóÌÐò½Ó¿Ú£©ÊÇÊÂÏÈдºÃµÄ´úÂë,
×éÖ¯µ½Ïà¹Ø°ü¡£ÀýÈç Applet ºÍ AWT °ü°üÀ¨½¨Á¢×ÖÌå¡¢²Ëµ¥¡¢°´Å¥µÄÀࣨCLASS£©£¬
È«²¿µÄJava API±»°üº¬ÔÚJavaTM 2 Standard Edition 1. ÔÚÏßAPIÎĵµ¡¡2. APIÎĵµ
ÏÂÔØ
Applet Applet£¨Ð¡Ó¦ÓóÌÐò£©ÊÇÔÚWEBä¯ÀÀÆ÷ÀïÔËÐеÄjava³ÌÐò¡£AppletsʹÓÃGUI£¬¿ÉÄÜ
ÓÐÎı¾¡¢Í¼Ïó¡¢°´Å¥¡¢ÉùÒôµÈ¡£ AWT ºÍ SWING ͨ³£±»ÁªºÏʹÓᣠ1. ¼Ü¹¹Applets
2. дһ¸öApplets 3. java.applet°ü
AWT£ºAbstract WindowToolkit AWT£¨³éÏó´°¿Ú¹¤¾ß¼¯£©ÊÇÒ»¸ö°üº¬ÓÃÀ´½¨Á¢AppletºÍÓ¦
ÓóÌÐòÐèÒªÓõ½µÄ×é¼þ£¨±ÈÈç°´Å¥¡¢²Ëµ¥¡¢¹ö¶¯ÌõµÈ£©µÄ°ü£¨package£©¡£ 1. AWTÔ
Ôò 2. Óà AWT¹¹ÔìGUI 3. java.awt °üÃèÊö 4. AWTÂÛ̳
JavaBeansTM JavaBean¿ÉÖظ´ÀûÓᢿɻ¥»»µÄÈí¼þ×é¼þ¡£ JavaBeans ¿ÉÄÜÊǼòµ¥µÄÏó°´
Å¥»òÕßÊÇ·ÃÎÊÊý¾Ý¿âµÄ¹¤¾ßµÈ¡£ 1. JavaBeans ¼¼Êõ: BeanContext API 2.
JavaBeansÂÛ̳
JFC£ºJavaTM Foundation Classes (JFC) JFC£¨JAVA»ù´¡Àࣩ¼¯ºÏÁËGUI×é¼þÒÔ¼°ÆäËûÄÜ
¼ò»¯¿ª·¢ºÍÕ¹¿ª×ÀÃæºÍInternet/IntranetÓ¦ÓõķþÎñ¡£ 1. Java Foundation Classes
(JFC) 2. JFC FAQ
JNI£ºJavaTMNative Interface JNI£¨JAVA±¾µØ½Ó¿Ú£©ÊÇ JDKÖÐJAVAµÄ±¾µØ±à³Ì½Ó¿Ú£¬JNI
ÔÊÐíJava´úÂë²Ù×÷ÓÃÆäËûµÄ¸ß¼¶£¨ÍƼö£©±à³ÌÓïÑÔ£¨±ÈÈçC¡¢C++£©±àдµÄÓ¦ÓóÌÐòºÍ
¿â¡£ 1. Ö¸ÄÏ: JNI 2. JNI¼¼Êõ3. JNI 1.2
JSP£ºJavaServerTM Pages ͨ¹ýÔÚHTMLÒ³ÃæÀïǶÈëscriptlets (Java±à³ÌÓïÑÔ´úÂë) ¹¹Ôì
JSP£¬ JSP Ò³Ãæ´¦Àí±íµ¥£¬Íê³É¼ÆË㣬 »òÕß×öJAVAÓïÑ
Ïà¹ØÎĵµ£º
ÎÊÌ⣺ÏÖÓÐn¸öÀÏÊóΧ³ÉһԲȦ£¬ÓÐһֻè´ÓÈÎÒâλÖÿªÊ¼³ÔÀÏÊó£¬Ã¿´Î¶¼¸ôÒ»¸öÀÏÊó³Ô£¬Çë¸ø³ö×îºóÒ»¸öÀÏÊóµÄ±àºÅ£¿ÌâÄ¿ÒªÇóÊÇÈθøÀÏÊóÊýn£¬Êä³öè×îºó³ÔµÄÀÏÊóµÄ±àºÅ¡£
ÎҵĽⷨ£º
1.¼òµ¥µÄ·½·¨¾ÍÊÇÄ£ÄâÕâ¸ö¹ý³Ì¡£Ê¹ÓÃÒ»¸öÊý×é´ú±íÀÏÊóÊÇ·ñ±»³Ôµô£¬Ñ»·±éÀú¡£
2.¸Ä½øһϵķ½·¨£¬ÆäʵÕâ¸öÎÊÌâ¾ÍÊÇÒ»¸öm=2µÄԼɪ·ò»·ÎÊÌâ¡£
......
package sort;
public class RadixSort {
// Çóx ÊýµÚdλÉϵÄÊý×Ö£¬ÀýÈç12345£¬Ê®Î»Êý×ÖÊÇ4 12345/10%10=4
// d=0 ±íʾ¸öλ £»d=1 ±íʾʮλ...ÒÀ´ÎÀàÍÆ
public static int digit(int d,int x){
return x/(int)Math.pow(10, d)%10;
}
public static void ra ......
Javaƽ̨ÌṩÁËÒ»¸öȫеļ¯ºÏ¿ò¼Ü¡£“¼¯ºÏ¿ò¼Ü”Ö÷ÒªÓÉÒ»×éÓÃÀ´²Ù×÷¶ÔÏóµÄ½Ó¿Ú×é³É¡£²»Í¬½Ó¿ÚÃèÊöÒ»×鲻ͬÊý¾ÝÀàÐÍ¡£
Java 2¼¯ºÏ¿ò¼Üͼ
¼¯ºÏ½Ó¿Ú£º6¸ö½Ó¿Ú£¨¶ÌÐéÏß±íʾ£©£¬±íʾ²»Í¬¼¯ºÏÀàÐÍ£¬ÊǼ¯ºÏ¿ò¼ÜµÄ»ù´¡¡£
³éÏóÀࣺ5¸ö³éÏóÀࣨ³¤ÐéÏß±íʾ£©£¬¶Ô¼¯ºÏ½Ó¿ÚµÄ²¿·ÖʵÏÖ¡£¿ÉÀ©Õ¹Îª×Ô¶¨Ò弯ºÏÀà¡£
......
5.ÈçºÎ´ÓJVMÖлñÈ¡ÐÅÏ¢À´½øÐе÷Õû
¡¡¡¡-verbose.gc¿ª¹Ø¿ÉÏÔʾgcµÄ²Ù×÷ÄÚÈÝ¡£´ò¿ªËü£¬¿ÉÒÔÏÔʾ×îæºÍ×î¿ÕÏÐÊÕ¼¯ÐÐΪ·¢ÉúµÄʱ¼ä¡¢ÊÕ¼¯Ç°ºóµÄÄÚ´æ´óС¡¢ÊÕ¼¯ÐèÒªµÄʱ¼äµÈ¡£´ò¿ª- xx:+ printgcdetails¿ª¹Ø£¬¿ÉÒÔÏêϸÁ˽âgcÖеı仯¡£´ò¿ª-XX: + PrintGCTimeStamps¿ª¹Ø£¬¿ÉÒÔÁ˽âÕâЩÀ¬»øÊÕ¼¯·¢ÉúµÄʱ¼ä£¬×ÔjvmÆô¶¯ÒÔºóÒÔ ......
import lotus.domino.*;
import java.io.*;
import java.util.Vector;
import jxl.*;
/*******************************************************************************
* @saveSQMessageToOracle
* @×÷ÕߣºÐ컪Ïé
* @2009Äê10ÔÂ28ÈÕ
* @˵Ã÷£ºExeclÎļþµÄµ¼Èë
********** ......