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

JAVA¶¨Ê±Æ÷ÀàµÄʹÓÃ


Java´úÂë
import java.util.Timer;   
import java.util.TimerTask;  
import java.util.Timer;
import java.util.TimerTask;
Java´úÂë
public class Test {   
 public static void main(String[] args) {   
  Timer timer = new Timer();   
  timer.schedule(new TimerTask() {   
   public void run() {   
    System.out.println("haha");   
   }   
  }, 0, 1000);   
 }   
}  
public class Test {
 public static void main(String[] args) {
  Timer timer = new Timer();
  timer.schedule(new TimerTask() {
   public void run() {
    System.out.println("haha");
   }
  }, 0, 1000);
 }
}
 
void
cancel()
          ÖÕÖ¹´Ë¼ÆʱÆ÷£¬¶ªÆúËùÓе±Ç°ÒÑ°²ÅŵÄÈÎÎñ¡£
 int
purge()
          ´Ó´Ë¼ÆʱÆ÷µÄÈÎÎñ¶ÓÁÐÖÐÒƳýËùÓÐÒÑÈ¡ÏûµÄÈÎÎñ¡£
 void
schedule(TimerTask task, Date time)
          °²ÅÅÔÚÖ¸¶¨µÄʱ¼äÖ´ÐÐÖ¸¶¨µÄÈÎÎñ¡£
 void
schedule(TimerTask task, Date firstTime, long period)
          °²ÅÅÖ¸¶¨µÄÈÎÎñÔÚÖ¸¶¨µÄʱ¼ä¿ªÊ¼½øÐÐÖظ´µÄ¹Ì¶¨ÑÓ³ÙÖ´ÐС£
 void
schedule(TimerTask task, long delay)
          °²ÅÅÔÚÖ¸¶¨ÑÓ³ÙºóÖ´ÐÐÖ¸¶¨µÄÈÎÎñ¡£
 void
schedule(TimerTask task, long delay, long period)
          °²ÅÅÖ¸¶¨µÄÈÎÎñ´ÓÖ¸¶¨µÄÑÓ³Ùºó¿ªÊ¼½øÐÐÖظ´µÄ¹Ì¶¨ÑÓ³ÙÖ´ÐС£
 void
scheduleAtFixedRate(Timer


Ïà¹ØÎĵµ£º

.netºÍjavaÖ®±È½Ï javaѧϰ

×î½ü¹«Ë¾Òª¿ª·¢Windowsƽ̨ÉϵIJúÆ·£¨ÓÉÓÚÉæ¼°µ½ÉÌÒµ»úÃÜ£¬ËùÒÔÄ¿Ç°ÎÞ·¨¶ÔÕâ¸ö²úÆ·×öÏêϸ½éÉÜ£©£¬²ÉÓÃ.Net¼¼Êõ½øÐпª·¢£¬ÎÒ¸ºÔðµÄÊÇ»ùÓÚ Visual Studio²å¼þ»úÖƵÄÐÐÒµ¿ª·¢¹¤¾ßµÄ¿ª·¢¡£´Ó¿ªÊ¼½Ó´¥.Netµ½ÏÖÔÚÒѾ­ÓнüÈý¸öÔÂÁË£¬¶øÇÒÒ²¿ª·¢³öÁ˵ÚÒ»¸ö°æ±¾£¬¶Ô.NetÒѾ­ÓÐÁËһЩÈÏʶ£¬ÓÉÓÚÒÔÇ°Ö÷ÒªÓÃJava¡¢PythonµÈÓïÑ ......

javaÖµ´«µÝÓëÒýÓô«µÝ


1¡¢¶ÔÏóÊÇ°´ÒýÓô«µÝµÄ---´ø"="ºÅµÄ¸³Öµ²Ù×÷
2¡¢Java Ó¦ÓóÌÐòÓÐÇÒ½öÓеÄÒ»ÖÖ²ÎÊý´«µÝ»úÖÆ£¬¼´°´Öµ´«µÝ---ÓÉ"º¯Êýµ÷ÓÃ"ÒýÆðµÄ
3¡¢°´Öµ´«µÝÒâζ×ŵ±½«Ò»¸ö²ÎÊý´«µÝ¸øÒ»¸öº¯Êýʱ£¬º¯Êý½ÓÊÕµÄÊÇԭʼֵµÄÒ»¸ö¸±±¾
4¡¢°´ÒýÓô«µÝÒâζ×ŵ±½«Ò»¸ö²ÎÊý´«µÝ¸øÒ»¸öº¯Êýʱ£¬º¯Êý½ÓÊÕµÄÊÇԭʼֵµÄÄÚ´æµØÖ·£¬¶ø²»ÊÇÖµ µÄ¸±±¾
5¡¢×¢ ......

Nutz Java ±àÂë¹æ·¶ (V1.0)

Nutz Java ±àÂë¹æ·¶ (V1.0) By:zozoh 0. ¹æ·¶µÄ¹æ·¶ 1. ´úÂë¸ñʽ 2.1 °ü 2.2 ÀàºÍ½Ó¿Ú 2.3 ³ÉÔ±±äÁ¿ 2.4 ³£Á¿ 2.5 ¾Ö²¿±äÁ¿ 2.6 ³ÉÔ±º¯ÊýºÍ¾²Ì¬º¯Êý ......

flexºÍjava×öµÄͼƬÉÏ´«µÄСÀý×Ó

ÓõÄÊÇCommonsÉÏ´«×é¼þ£¬ÏÂÔصØÖ·£ºCommons
ÍøÉÏÕÒµÄСÀý×Ӹĵģ¬ÐÞ¸ÄÁ˲¿·Ö´íÎó¡£
1£¬FileUpload.java
package com.fileupload;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.charset.Charset;
import java.util.Iterator;
import java.util.List;
import ja ......

ArrayParameters.java £¨j»ù p45£©

//´«µÝ²ÎÊý£¬ºÍcÖд«µØÖ·ÓеãÏñ
public class ArrayParameters {
public static void changeOrNot (int i, double[] x) {
i =-1;
x[0] = -2.0;
double[] y = x;
y[1] = -3.0;
double[] z = {4.0, 4.0, 4.0};
x = z;
}
public static void main (String[] args) {
String s1 = ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ