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

ÓÃpython£¬ c#£¬ javaдµÄÎļþ¿½±´

     ǰһ¶Îʱ¼äÊÔ×ÅÓÃÕâÈýÖÖÓïÑÔ¼òµ¥µÄдÁ˹ØÓÚÎļþ¿½±´µÄ³ÌÐò£¬·¢ÏÖc#ºÍpythonµÄapi¾ªÈ˵ÄÏàËÆ£¬¶ÔÓÚÎļþµÄ²Ù×÷ÕâÁ½ÖÖÓïÑԷdz£µÄ·½±ã¡£¶¼Ã»ÓмÓÒì³£µÄ´¦Àí
C#Ô´´úÂ룺
        public static void CopyFile(string source, string destination)
        {
            if (string.IsNullOrEmpty(source) | string.IsNullOrEmpty(destination))
            {
                throw new ArgumentNullException("´«ÈëµÄĿ¼²»´æÔÚ");
            }
            if (IsDirectory(source))
            {
                if (IsDirectory(destination))
                {
                    var currentFiles = Directory.GetFiles(source);
                    if (currentFiles.Length > 0)
                    {
                        foreach (var sourceFile in currentFiles)
                        {
                 &


Ïà¹ØÎĵµ£º

[Python module] queue

8.8. queue — A synchronized queue class¶
queue -- Ò»¸öͬ²½¶ÓÁÐÀà
The queue module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Queue class in this module implemen ......

[Python module] threading

threading — Higher-level threading interface
This module constructs higher-level threading interfaces on top of the lower level _thread module. See also the queue module.
The dummy_threading module is provided for situations where threading cannot be used because _thread is missing.
  ......

¹ØÓÚjava+flexÏîÄ¿»¶Ó­Ò³µÄÎÊÌâ

¿ª·¢Á˸öflexºÍjavaµÄ²âÊÔÏîÄ¿£¬ÒòΪflexÎļþ±È½Ï¶à£¬ËùÒÔ´´½¨flexʱºò£¬
ÔÚWebRootϽ¨Á¢ÁËÎļþ¼Ðbin£¬ÓÃÀ´´æ´¢htmlºÍswfÎļþ
ÏëÔÚä¯ÀÀÆ÷ÊäÈëhttp://localhost:8080/projectÖ±½Ó¿ÉÒÔ·ÃÎÊÎļþ¼ÐϵÄhtml
µÚÒ»£¬ÔÚWebRootϽ¨Á¢index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
&l ......

Java¶ÔÏóÐòÁл¯ºÍ·´ÐòÁл¯

µ±Á½¸ö½ø³ÌÔÚ½øÐÐÔ¶³ÌͨÐÅʱ£¬±Ë´Ë¿ÉÒÔ·¢Ë͸÷ÖÖÀàÐ͵ÄÊý¾Ý¡£ÎÞÂÛÊǺÎÖÖÀàÐ͵ÄÊý¾Ý£¬¶¼»áÒÔ¶þ½øÖÆÐòÁеÄÐÎʽÔÚÍøÂçÉÏ´«ËÍ¡£·¢ËÍ·½ÐèÒª°ÑÕâ¸öJava¶ÔÏóת»»Îª×Ö½ÚÐòÁУ¬¼´Java¶ÔÏóÐòÁкţ¬²ÅÄÜÔÚÍøÂçÉÏ´«ËÍ£»½ÓÊÕ·½ÔòÐèÒª°Ñ×Ö½ÚÐòÁÐÔÙ»Ö¸´ÎªJava¶ÔÏ󣬼´·´ÐòÁл¯¡£
°ÑJava¶ÔÏóת»»Îª×Ö½ÚÐòÁеĹý³Ì³ÆÎª¶ÔÏóµÄÐòÁл¯¡£
°Ñ×Ö½ ......

javaͨ¹ý»º³åÇøÌá¸ßI/OÐÔÄÜ

 ÎÒÃÇÖªµÀJavaÖÐÒ»°ãµÄÊäÈëÊä³öÁ÷Àà¶¼ÊÇÓõ¥×ֽڵĶÁÈ¡·½·¨À´½øÐÐI/O²Ù×÷µÄ£¬Ò²¾ÍÊÇ˵ÿ´ÎÖ»¶Áдһ¸ö×Ö½ÚµÄÊý¾Ý£¬ÕâÖÖ·½·¨ÏÔÈ»·±ËöµÍЧ¡£Èç¹û´ÓÉ豸¶ÁÈ¡10MµÄÎļþ£¬Ã¿´Î¶Áȡһ¸ö×Ö½Ú£¬Íê³É²Ù×÷½«ÐèÒª×ö10M/´ÎI/O²Ù×÷£¬I/O²Ù×÷ÓÖÊÇÒ»¼þÏ൱ºÄʱµÄÊÂÇ飬ÎÞÒÉÔںܴó³Ì¶ÈÉϽµµÍÁËϵͳµÄÐÔÄÜ¡£
    JavaÖÐ× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ