java Ï̺߳ǫ́ÔËÐÐʾÀý
import java.io.IOException;
public class ResponseUI extends Thread{
private static volatile double d = 1;
public ResponseUI(){
super.setDaemon(true); //ÉèÖúǫ́ÔËÐÐ
start();
}
public void run(){
while(true){
d = d + (Math.E + Math.PI) / d;
}
}
/**
* @param args
* @throws InterruptedException
* @throws IOException
*/
public static void main(String[] args) throws InterruptedException, IOException {
// TODO Auto-generated method stub
new ResponseUI();
Thread.sleep(300);
System.in.read();
System.out.println(d);
}
}
ÕâÑùÖ»ÒªÔÚ¿ØÖÆ̨ÊäÈëÈκζ«Î÷£¬¶¼ÄÜ¿´µ½dµÄÖµ£¬ËµÃ÷Ïß³ÌȷʵÔÚºǫ́ÔËÐÐ
Ïà¹ØÎĵµ£º
ÊìϤ JavaÓïÑÔ¼°ÃæÏò¶ÔÏóÉè¼Æ˼Ïë
¾ßÓÐÔúʵµÄJava±à³Ì¹¦µ×ºÍÁ¼ºÃµÄ±àÂë¹æ·¶
ÊìϤJsprvlet¿ª·¢£¨Model1¡¢Model2£©
ÊìϤMVCÉè¼Æģʽ
ÊìÁ·ÕÆÎÕHTMLÓïÑÔ¡¢JavaScript½Å±¾ÓïÑÔ¡¢XMLÓïÑÔ
ÊìÁ·ÕÆÎÕWebwork¿ò¼Ü£¬Äܹ»ÊìÁ·ÔËÓÃWebwrok¿ò¼Ü½øÐÐweb ......
1 ¾ÛºÏ
Ö»ÒªÀàÖнáºÏÁ˶ÔÏóµÄʵÀý£¬ÎÞÂÛ¸öÊý¶àÉÙ¶¼´æÔÚ ¾ÛºÏµÄ¹Øϵ£¬
¾ÛºÏÊǹØÁªµÄÒ»ÖÖÌØÊâÐÎʽ£¬ËüÒâζ×ÅÒ»ÖÖÕûÌå / ²¿·Ö£¨ whole/part £©µÄ¹Øϵ¡£
°×É«ÁâÐÎÖ±Ïß´ú±í¾ÛºÏµÄ¹Øϵ ±íʾWhole ʹÓÃÁËPart
ÀàÖзÃÎÊ¿ØÖÆ
+´ú±í publicµÄÊôÐÔ ......
Èô·¾¶Öдø¿Õ¸ñ£¬Ôò
1. uri.getpath();·µ»ØµÄ·¾¶ÖеĿոñÈÔÒÔ“¿Õ¸ñ”µÄÐÎʽ³öÏÖ£¬Èç/F:/MyEclipse Workspace/project/bin/...
³ý´ËÖ®Í⣬URL·µ»ØµÄÒ»Çз¾¶ÖеĿոñ¶¼ÒÔ“%20”µÄÐÎʽ³öÏÖ£¬uri.toString()Ò²ÒÔ“%20”µÄÐÎʽ³öÏÖ¡£
2. new File(String filePath);½ÓÊÜÕýÈ·URI¸ñʽµÄ²ÎÊýº ......
Õâ¸öÔÔòºÜ¼òµ¥£¬¾ÍÊÇʹÓÃ˽Óй¹Ô캯Êý·ÀÖ¹À౻ʵÀý»¯¡£ ÓÐʱ£¬ÎÒÃÇ»áдһЩ¹¤¾ßÀ࣬Èçjava.lang.Math »òÊÇ java.util.Arrays, ÕâЩÀàÖж¼ÊǾ²Ì¬º¯Êý£¬ÔÚÉè¼ÆµÄʱºò£¬ÕâЩÀಢ²»ÊÇÓÃÀ´±»ÊµÀý»¯µÄ¡£Õâ¸öʱºò£¬¾ÍºÜÓбØÒª°Ñ¹¹Ô캯Êý˽Óл¯¡£ public class UtilityClass {
private UtilityClass() {
throw ne ......