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

air£¬java£¬DelphiµÝ¹é»ñµÃÎļþ¼Ð¼°Æä×ÓÎļþÐÅÏ¢

°ÑÒÔÇ°×ö¹ýµÄÏîÄ¿×ܽáһϣ¡²Î¼Ó¹¤×÷ÒÔÀ´Ò»¹²ÓÃÈýÖÖ²»Í¬ÓïÑÔʵÏÖÁË»ñµÃÎļþ¼Ð¼°Æä×ÓÎļþÐÅÏ¢¡£ÎªÁË·½±ãÒÔºóʹÓÃ×ܽáÒ»ÏÂ
airʵÏÖ£º 
private function getfile(filelist:File):Array{  
  var list:Array = filelist.getDirectoryListing();
  var count:uint=list.length;
  for (var i:uint = 0; i < count; i++) {
   if(list[i].isDirectory) {
    var listtemp:Array = getfile(list[i]);    
    list = list.concat(listtemp);
   }else{
    continue;
   }     
  }
  return list;
 }
°Ñ×îºóµÄÎļþÐÅÏ¢·Åµ½arrayÀïÃæ
delphiʵÏÖ£º
procedure Tallmark.GetDirectoryFiles(const ADirectory: string;
  fileList: TStrings);
var
  Dir: TSearchRec;
  Ret: integer;
  Path: string;
begin
  if fileList <> nil then
  begin
    Path := ExtractFilePath(ADirectory);
    Ret := Sysutils.FindFirst(ADirectory, faAnyFile, Dir);
    if Ret <> NO_ERROR then exit;
    try
      while ret = NO_ERROR do
      begin
        if Dir.attr and faDirectory = 0 then fileList.Add(path + Dir.Name);
        if (Dir.Attr in [faDirectory]) and (Dir.Name[1] <> '.') then
        begin
          GetDirectoryFiles(Path + Dir.Name + '\*.dbf', fileList);
        end;
        Ret := Sysutils.FindNext(Dir);
      end;
    finally
      Sysutils.FindClose(Dir);
    end;
  end;
end;
°ÑËùÓеÄÎļþÐÅÏ¢·Åµ½Ò»¸öTStringsÀïÃæ


Ïà¹ØÎĵµ£º

Java SE 6¸üУ¬ÐÔÄÜ´ó·ùÌáÉý

¾ÝInternetNews.com±¨µÀ£¬×÷Ϊ½ñÄêµÄµÚÒ»´Î¸üУ¬Java SE 6 Update 18£¨Ò²³ÆΪ6u18£©²»½öÐÞ¸´Á˳¬¹ý300¸öbug£¨¹»¶àµÄ°¡£©£¬¶øÇÒ¸üÖµµÃ×¢ÒâµÄÊÇ£¬ÌáÉýÁËÐéÄâ»úHotSpotµÄÐÔÄÜ£¬Õ⽫ͬʱÓÐÒæÓÚJavaºÍJavaFX£¨»ùÓÚJVMµÄRIA·½°¸£©Ó¦ÓóÌÐò¡£
´ËÍ⣬Java°²×°Æ÷µÄµ×²ã»úÖƱ»Ìæ»»£¬¿ÉÓÃÐÔ´ó´óÌá¸ß¡£
jarÎļþ´´½¨³¤ÆÚ´æÔÚµÄÒ»¸öbug ......

java ³£Óù¤¾ßÀà

DateTimeHelper ʱ¼ä×é¼þ
/**
 *
 */
package com.ibm08001.bbs.utils;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
 *
 */
public class DateTimeHelper {
        private static SimpleDateFormat FULL_SDF = new SimpleDateFormat ......

Java¶àÏ̱߳à³ÌÏê½â


Ò»¡¢Àí½â¶àÏß³Ì
    ¶àÏß³ÌÊÇÕâÑùÒ»ÖÖ»úÖÆ£¬ËüÔÊÐíÔÚ³ÌÐòÖв¢·¢Ö´Ðжà¸öÖ¸ÁîÁ÷£¬Ã¿¸öÖ¸ÁîÁ÷¶¼³ÆΪһ¸öỊ̈߳¬±Ë´Ë¼ä»¥Ïà¶ÀÁ¢¡£Ïß³ÌÓÖ³ÆΪÇáÁ¿¼¶½ø³Ì£¬ËüºÍ½ø³ÌÒ»ÑùÓµÓжÀÁ¢µÄÖ´ÐпØÖÆ£¬ÓɲÙ×÷ϵͳ¸ºÔðµ÷¶È£¬Çø±ðÔÚÓÚÏß³ÌûÓжÀÁ¢µÄ´æ´¢¿Õ¼ä£¬¶øÊǺÍËùÊô½ø³ÌÖеÄÆäËüÏ̹߳²ÏíÒ»¸ö´æ´¢¿Õ¼ä£¬ÕâʹµÃÏ̼߳äµÄ ......

JavaÏß³ÌÖ®Worker Thread Pattern

Worker Thread PatternµÄ²ÎÓëÕߣº
1. Client£¨Î¯ÍÐÈË£©²ÎÓëÕß
    Client²ÎÓëÕ߻ὨÁ¢Request²ÎÓëÕߣ¬²¢´«¸øChannel²ÎÓëÕß¡£
2. Channel£¨Í¨Â·£©²ÎÓëÕß
    Channel²ÎÓëÕß»á´ÓClient²ÎÓëÕß»ñÈ¡Request²ÎÓëÕߣ¬´«µÝ¸øWorker²ÎÓëÕß¡£
3. Worker£¨¹¤ÈË£©²ÎÓëÕß
    Worker ......

java ¼¯ºÏ—— ×ܽá1£¨²¿·ÖÐèÒª¼ÌÐøÍêÉÆ£©


£¨1£©À༯µÄ²úÉúÄ¿µÄ
À༯¼òµ¥À´½²¾ÍÊÇÒ»¸ö¶¯Ì¬µÄ¶ÔÏóÊý×飬´Ë¶ÔÏóÊý×é¿ÉÒԸıä´óС£¬¿ÉÒÔÈÎÒâµÄʵÏÖ¶ÔÏóµÄÔö¼Ó¡¢É¾³ý¡¢Êä³ö¡£ËùÓеÄÀ༯´æ·Åjava.util°üÖС£
£¨2£©À༯µÄ»®·Ö 
1¡¢´æ·Åµ¥Öµ£ºCollection 
2¡¢´æ·ÅÒ»¶ÔÖµ£ºMap 
3¡¢Êä³ö£ºIterator
Collection£¨´æ·Åµ¥Öµ£©
©ÀList
©¦©ÀLinkedList
© ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ