{"id":30012,"date":"2024-11-25T08:44:48","date_gmt":"2024-11-25T00:44:48","guid":{"rendered":"https:\/\/fwq.ai\/blog\/30012\/"},"modified":"2024-11-25T08:44:48","modified_gmt":"2024-11-25T00:44:48","slug":"%e5%88%86%e4%ba%ab%e4%b8%80%e4%b8%aa%e6%b8%85%e7%90%86%e5%86%85%e5%ad%98%e5%8d%a1%e5%92%8cu%e7%9b%98%e9%87%8c%e5%9e%83%e5%9c%be%e7%9a%84%e5%b0%8f%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/30012\/","title":{"rendered":"\u5206\u4eab\u4e00\u4e2a\u6e05\u7406\u5185\u5b58\u5361\u548cU\u76d8\u91cc\u5783\u573e\u7684\u5c0f\u7a0b\u5e8f"},"content":{"rendered":"<p>\u6709\u4e00\u79cd\u573a\u666f\uff0c \u624b\u673a\u5185\u5b58\u5361\u7a7a\u95f4\u88ab\u7528\u5149\u4e86\uff0c\u4f46\u53c8\u4e0d\u77e5\u9053\u54ea\u4e2a\u6587\u4ef6\u5360\u7528\u4e86\u592a\u5927\uff0c\u4e00\u4e2a\u4e2a\u6587\u4ef6\u5939\u53bb\u627e\u53c8\u592a\u9ebb\u70e6\uff0c\u6240\u4ee5\u6211\u5f00\u53d1\u4e86\u4e2a\u5c0f\u7a0b\u5e8f\u628a\u624b\u673a\u6240\u6709\u6587\u4ef6\uff08\u5305\u62ec\u8def\u5f84\u4e0b\u6240\u6709\u5c42\u6b21\u5b50\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6\uff09\u8fdb\u884c\u4e00\u4e2a\u6392\u5e8f\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u627e\u51fa\u54ea\u4e2a\u6587\u4ef6\u5360\u7528\u4e86\u5185\u5b58\u592a\u5927\u4e86\u3002<\/p>\n<p>\u4f7f\u7528\u4f8b\u5b50\u5982\u4e0b\uff0c\u7528JAVA \u8fd0\u884cSort<\/p>\n<p>1\uff0c \u8f93\u5165\u4f60\u8981\u6392\u5e8f\u7684\u6587\u4ef6\u8def\u5f84 \uff0c \u5982 \u4f8b\u5b50\u662f\u5bf9H:\u4e0b\u7684\u6587\u4ef6\u548c\u5b83\u6240\u6709\u5b50\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6\u8fdb\u884c\u6392\u5e8f<\/p>\n<p>2\uff0c \u8f93\u5165\u9700\u8981\u8fdb\u884c\u6392\u5e8f\u663e\u793a\u7684\u6700\u65b0\u5927\u5c0f\uff0c\u5982 \u4f8b\u5b50\u662f\u5bf910M \u5927\u5c0f \u4ee5\u4e0a\u7684\u6587\u4ef6\u8fdb\u884c\u6392\u5e8f<\/p>\n<p>3\uff0c\u4ece\u5927\u5230\u5c0f\u6392\u5e8f\u540e\u6309<\/p>\n<p>\u6587\u4ef6\u8def\u5f84\u6587\u4ef6\u540d&#8212;&#8212;-\u5927\u5c0f KB&#8212;&#8212;&#8211;\u521b\u5efa\u65e5\u671f\u8fdb\u884c\u663e\u793a(yyyyMMdd)<\/p>\n<p>\u683c\u5f0f\u8fdb\u884c\u663e\u793a,\u3002<\/p>\n<p>\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u628a\u592a\u5927\u7684\u6587\u4ef6\u5220\u9664\u4e86\uff0c\u6e05\u7406\u51fa\u7a7a\u95f4<\/p>\n<p>D:hjbsSorftwork\ufffd40207SortSizein&gt;java com.he.jinbin.Sort<br \/>\u8f93\u5165\u9700\u8981\u6392\u5e8f\u6587\u4ef6\u5730\u5740:H:<br \/>\u8f93\u5165\u9700\u8981\u6392\u5e8f\u6587\u4ef6\u5927\u5c0f(\u5355\u4f4dM):10<br \/>\u8fd0\u884c\u4e2d\uff0c\u8bf7\u7a0d\u7b49&#8230;<br \/>\u4ece\u5927\u5230\u5c0f\u6587\u4ef6\u6392\u5e8f\u4e3a:<br \/>H:.android_securecom.sg.android.fish-1.asec&#8212;&#8212;-36224000 KB&#8212;&#8212;&#8211;20130525<br \/>H:BaiduMapmphquanguogailue.dat&#8212;&#8212;-27616013 KB&#8212;&#8212;&#8211;20130512<br \/>H:DownloadRedGame_Android_2017-2013-11-06_18-54-27-CI-20.apk&#8212;&#8212;-26563096 KB&#8212;&#8212;&#8211;20131111<br \/>H:ugameugameSDKdownloadsF9757F4442DD99FC89FA387C80405D2.apk&#8212;&#8212;-26305964KB&#8212;&#8212;&#8211;20131025<br \/>H:Downloadcom.tencent.mobileqq_60.apk&#8212;&#8212;-25417880 KB&#8212;&#8212;&#8211;20130714<br \/>H:Androiddatacom.android.gallery3dcacheimgcache.0&#8212;&#8212;-22070789 KB&#8212;&#8212;&#8211;20140210<br \/>H:ook\ufffd4\u5f02\u4e16\u7075\u6b66\u5929\u4e0b\u5f02\u4e16\u7075\u6b66\u5929\u4e0b.txt&#8212;&#8212;-20279247 KB&#8212;&#8212;&#8211;20131114<br \/>H:ook\u6df1\u5165java\u865a\u62df\u673a.pdf&#8212;&#8212;-19936351 KB&#8212;&#8212;&#8211;20130303<br \/>H:ook\ufffd4\u5b98\u9014\u5b98\u9014.txt&#8212;&#8212;-19668417 KB&#8212;&#8212;&#8211;20130907<br \/>H:ook\u91d1\u5eb8\u4e16\u754c\u91cc\u7684\u9053\u58eb.txt&#8212;&#8212;-19004109 KB&#8212;&#8212;&#8211;20130102<br \/>H:wandoujiapatch\u5feb\u64ad_1390061188726.patch&#8212;&#8212;-18649129 KB&#8212;&#8212;&#8211;20140119<br \/>H:BaiduMapmphguangzhou_257.dat&#8212;&#8212;-16645639 KB&#8212;&#8212;&#8211;20140120<br \/>H:ook\u6218\u7687.txt&#8212;&#8212;-15588332 KB&#8212;&#8212;&#8211;20121215<br \/>H:Downloadcom.tencent.mobileqq_52.apk&#8212;&#8212;-15128435 KB&#8212;&#8212;&#8211;20130521<br \/>H:ook\ufffd4\u8d85\u7ea7\u519c\u6c11\u8d85\u7ea7\u519c\u6c11.txt&#8212;&#8212;-13913630 KB&#8212;&#8212;&#8211;20130807<br \/>H:ook\ufffd4\u5510\u5bc5\u5728\u5f02\u754c\u5510\u5bc5\u5728\u5f02\u754c.txt&#8212;&#8212;-13328290 KB&#8212;&#8212;&#8211;20130726<br \/>H:ook\ufffd4\u672b\u65e5\u87d1\u8782\u672b\u65e5\u87d1\u8782.txt&#8212;&#8212;-13177834 KB&#8212;&#8212;&#8211;20131129<br \/>H:ook\ufffd4\u6613\u7b4b\u7ecf\u6613\u7b4b\u7ecf.txt&#8212;&#8212;-12995888 KB&#8212;&#8212;&#8211;20130715<br \/>H:ook\ufffd4\u6297\u6218\u4e4b\u7ea2\u8272\u8b66\u6212\u6297\u6218\u4e4b\u7ea2\u8272\u8b66\u6212.txt&#8212;&#8212;-12828979 KB&#8212;&#8212;&#8211;20130928<br \/>H:ook ew\u9053.txt&#8212;&#8212;-12445787 KB&#8212;&#8212;&#8211;20130326<br \/>H:ook\ufffd4895\u6dd8\u91d1\u56fd\u5ea6895\u6dd8\u91d1\u56fd\u5ea6.txt&#8212;&#8212;-12391071 KB&#8212;&#8212;&#8211;20140104<br \/>H:ook\ufffd4\u6743\u81e3\u6743\u81e3.txt&#8212;&#8212;-11949796 KB&#8212;&#8212;&#8211;20130726<br \/>H:install\ufffdweishi_167.apk&#8212;&#8212;-11342128 KB&#8212;&#8212;&#8211;20131009<br \/>H:ook\ufffd3.9.19\u6597\u7834\u82cd\u7a79.txt&#8212;&#8212;-10776149 KB&#8212;&#8212;&#8211;20130103<br \/>H:installaiduditu.apk&#8212;&#8212;-10685159 KB&#8212;&#8212;&#8211;20130511<br \/>H:DBOPResourcescfgdb.cfg&#8212;&#8212;-10647552 KB&#8212;&#8212;&#8211;20130520<\/p>\n<p>windows\u7684\u5f0a\u7aef\uff0c\u4e0d\u80fd\u5bf9\u6587\u4ef6\u5939\u7684\u5927\u5c0f\u8fdb\u884c\u663e\u793a\u3002<\/p>\n<p>\u5c31\u4e24\u4e2a\u7c7b,<\/p>\n<pre>package&nbsp;com.he.jinbin;import&nbsp;java.util.Date;\/**\r\n&nbsp;*&nbsp;\u7528\u4e8e\u6392\u5e8f\u903b\u8f91\u5b9e\u4f53\u7c7b\r\n&nbsp;*&nbsp;\r\n&nbsp;*&nbsp;@author&nbsp;\u4f55\u9526\u5f6c&nbsp;&nbsp;&nbsp;&nbsp;QQ&nbsp;277803242\r\n&nbsp;*&nbsp;*\/public&nbsp;class&nbsp;FileItem&nbsp;implements&nbsp;Comparable&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;String&nbsp;fileName;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;long&nbsp;size;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;Date&nbsp;creatTime;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;FileItem(String&nbsp;fileName,&nbsp;long&nbsp;size,&nbsp;Date&nbsp;creaDate)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/&nbsp;TODO&nbsp;Auto-generated&nbsp;constructor&nbsp;stub\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.fileName&nbsp;=&nbsp;fileName;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.size&nbsp;=&nbsp;size;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.creatTime&nbsp;=&nbsp;creaDate;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;String&nbsp;getFileName()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;fileName;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;void&nbsp;setFileName(String&nbsp;fileName)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.fileName&nbsp;=&nbsp;fileName;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;long&nbsp;getSize()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;size;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;void&nbsp;setSize(long&nbsp;size)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.size&nbsp;=&nbsp;size;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;Date&nbsp;getCreatTime()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;creatTime;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;void&nbsp;setCreatTime(Date&nbsp;creatTime)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.creatTime&nbsp;=&nbsp;creatTime;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;@Override&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;int&nbsp;compareTo(Object&nbsp;o)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(this.size&nbsp;&amp;gt;&nbsp;((FileItem)&nbsp;o).getSize())&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;-1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<pre>package&nbsp;com.he.jinbin;import&nbsp;java.io.BufferedInputStream;import&nbsp;java.io.BufferedReader;import&nbsp;java.io.File;import&nbsp;java.io.IOException;import&nbsp;java.io.InputStream;import&nbsp;java.io.InputStreamReader;import&nbsp;java.text.SimpleDateFormat;import&nbsp;java.util.ArrayList;import&nbsp;java.util.Collections;import&nbsp;java.util.Date;import&nbsp;java.util.List;\/**\r\n&nbsp;*&nbsp;\u7528\u4e8e\u6392\u5e8f\u903b\u8f91\u4e3b\u7c7b\r\n&nbsp;*&nbsp;\r\n&nbsp;*&nbsp;@author&nbsp;\u4f55\u9526\u5f6c&nbsp;&nbsp;&nbsp;&nbsp;QQ&nbsp;277803242\r\n&nbsp;*&nbsp;*\/public&nbsp;class&nbsp;Sort&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;List&lt;fileitem&gt;&nbsp;fileItems&nbsp;=&nbsp;new&nbsp;ArrayList&lt;fileitem&gt;();&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;FileItem&nbsp;maxFileItem;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;final&nbsp;static&nbsp;long&nbsp;M_1&nbsp;=&nbsp;1024&nbsp;*&nbsp;1024;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;long&nbsp;temp&nbsp;=&nbsp;M_1;&nbsp;\/\/&nbsp;\u9ed8\u8ba4\u5927\u4e8e1M\u7684\u6587\u4ef6\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;void&nbsp;addFileItem(File&nbsp;file)&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File[]&nbsp;fileList&nbsp;=&nbsp;file.listFiles();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(int&nbsp;i&nbsp;=&nbsp;0;&nbsp;i&nbsp;&nbsp;temp)&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fileItems.add(new&nbsp;FileItem(file.getPath(),&nbsp;file.length(),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;Date(file.lastModified())));\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;void&nbsp;main(String[]&nbsp;args)&nbsp;throws&nbsp;IOException&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;filePath&nbsp;=&nbsp;null;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.print(\"\u8f93\u5165\u9700\u8981\u6392\u5e8f\u6587\u4ef6\u5730\u5740:\");\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BufferedReader&nbsp;inRd&nbsp;=&nbsp;new&nbsp;BufferedReader(new&nbsp;InputStreamReader(\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.in));\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filePath&nbsp;=&nbsp;inRd.readLine();\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.print(\"\u8f93\u5165\u9700\u8981\u6392\u5e8f\u6587\u4ef6\u5927\u5c0f(\u5355\u4f4dM):\");\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inRd&nbsp;=&nbsp;new&nbsp;BufferedReader(new&nbsp;InputStreamReader(System.in));\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;temp&nbsp;=&nbsp;Long.parseLong(inRd.readLine())*M_1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inRd.close();\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(\"\u8fd0\u884c\u4e2d\uff0c\u8bf7\u7a0d\u7b49...\");\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File&nbsp;file&nbsp;=&nbsp;new&nbsp;File(filePath);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addFileItem(file);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SimpleDateFormat&nbsp;fmt&nbsp;=&nbsp;new&nbsp;SimpleDateFormat(\"yyyyMMdd\");\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Collections.sort(fileItems);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(\"\u4ece\u5927\u5230\u5c0f\u6587\u4ef6\u6392\u5e8f\u4e3a:\");&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(int&nbsp;i&nbsp;=&nbsp;fileItems.size()&nbsp;-&nbsp;1;&nbsp;i&nbsp;&amp;gt;=&nbsp;0;&nbsp;i--)&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileItem&nbsp;item&nbsp;=&nbsp;fileItems.get(i);\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(item.getFileName()&nbsp;+&nbsp;\"-------\"&nbsp;+&nbsp;item.getSize()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+&nbsp;\"&nbsp;KB\"&nbsp;+&nbsp;\"--------\"&nbsp;+&nbsp;fmt.format(item.getCreatTime()));\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n}&lt;\/fileitem&gt;&lt;\/fileitem&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u867d\u7136\u7b80\u5355\uff0c \u4f46\u4e2a\u4eba\u770b\u6cd5\u662f\uff0c \u7a0b\u5e8f\u53ea\u662f\u5de5\u5177\uff0c \u4e3a\u751f\u6d3b\u5e26\u6765\u4fbf\u5229\u5c31\u662f\u597d\u7a0b\u5e8f\uff0c\u4e0d\u662f\u4e3a\u4e86show\u6280\u672f\uff0c\u4ec5\u4ec5\u662f\u4e3a\u4e86\u5b9e\u7528<\/p>\n<p>\u3010\u76f8\u5173\u63a8\u8350\u3011<\/p>\n<p>1. <\/p>\n<p>2. <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5206\u4eab\u4e00\u4e2a\u6e05\u7406\u5185\u5b58\u5361\u548cU\u76d8\u91cc\u5783\u573e\u7684\u5c0f\u7a0b\u5e8f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4e00\u79cd\u573a\u666f\uff0c \u624b\u673a\u5185\u5b58\u5361\u7a7a\u95f4\u88ab\u7528\u5149\u4e86\uff0c\u4f46\u53c8\u4e0d\u77e5\u9053\u54ea\u4e2a\u6587\u4ef6\u5360\u7528\u4e86\u592a\u5927\uff0c\u4e00\u4e2a\u4e2a\u6587\u4ef6\u5939\u53bb\u627e\u53c8\u592a\u9ebb\u70e6\uff0c\u6240\u4ee5\u6211\u5f00\u53d1\u4e86\u4e2a\u5c0f\u7a0b\u5e8f\u628a\u624b\u673a\u6240\u6709\u6587\u4ef6\uff08\u5305\u62ec\u8def\u5f84\u4e0b\u6240\u6709\u5c42\u6b21\u5b50\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6\uff09\u8fdb\u884c\u4e00\u4e2a\u6392\u5e8f\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u627e\u51fa\u54ea\u4e2a\u6587\u4ef6\u5360\u7528\u4e86\u5185\u5b58\u592a\u5927\u4e86\u3002 \u4f7f\u7528\u4f8b\u5b50\u5982\u4e0b\uff0c\u7528JAVA \u8fd0\u884cSort 1\uff0c \u8f93\u5165\u4f60\u8981\u6392\u5e8f\u7684\u6587\u4ef6\u8def\u5f84 \uff0c \u5982 \u4f8b\u5b50\u662f\u5bf9H:\u4e0b\u7684\u6587\u4ef6\u548c\u5b83\u6240\u6709\u5b50\u6587\u4ef6\u5939\u4e0b\u7684\u6587\u4ef6\u8fdb\u884c\u6392\u5e8f 2\uff0c \u8f93\u5165\u9700\u8981\u8fdb\u884c\u6392\u5e8f\u663e\u793a\u7684\u6700\u65b0\u5927\u5c0f\uff0c\u5982 \u4f8b\u5b50\u662f\u5bf910M \u5927\u5c0f \u4ee5\u4e0a\u7684\u6587\u4ef6\u8fdb\u884c\u6392\u5e8f 3\uff0c\u4ece\u5927\u5230\u5c0f\u6392\u5e8f\u540e\u6309 \u6587\u4ef6\u8def\u5f84\u6587\u4ef6\u540d&#8212;&#8212;-\u5927\u5c0f KB&#8212;&#8212;&#8211;\u521b\u5efa\u65e5\u671f\u8fdb\u884c\u663e\u793a(yyyyMMdd) \u683c\u5f0f\u8fdb\u884c\u663e\u793a,\u3002 \u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u628a\u592a\u5927\u7684\u6587\u4ef6\u5220\u9664\u4e86\uff0c\u6e05\u7406\u51fa\u7a7a\u95f4 D:hjbsSorftwork\ufffd40207SortSizein&gt;java com.he.jinbin.Sort\u8f93\u5165\u9700\u8981\u6392\u5e8f\u6587\u4ef6\u5730\u5740:H:\u8f93\u5165\u9700\u8981\u6392\u5e8f\u6587\u4ef6\u5927\u5c0f(\u5355\u4f4dM):10\u8fd0\u884c\u4e2d\uff0c\u8bf7\u7a0d\u7b49&#8230;\u4ece\u5927\u5230\u5c0f\u6587\u4ef6\u6392\u5e8f\u4e3a:H:.android_securecom.sg.android.fish-1.asec&#8212;&#8212;-36224000 KB&#8212;&#8212;&#8211;20130525H:BaiduMapmphquanguogailue.dat&#8212;&#8212;-27616013 KB&#8212;&#8212;&#8211;20130512H:DownloadRedGame_Android_2017-2013-11-06_18-54-27-CI-20.apk&#8212;&#8212;-26563096 KB&#8212;&#8212;&#8211;20131111H:ugameugameSDKdownloadsF9757F4442DD99FC89FA387C80405D2.apk&#8212;&#8212;-26305964KB&#8212;&#8212;&#8211;20131025H:Downloadcom.tencent.mobileqq_60.apk&#8212;&#8212;-25417880 KB&#8212;&#8212;&#8211;20130714H:Androiddatacom.android.gallery3dcacheimgcache.0&#8212;&#8212;-22070789 KB&#8212;&#8212;&#8211;20140210H:ook\ufffd4\u5f02\u4e16\u7075\u6b66\u5929\u4e0b\u5f02\u4e16\u7075\u6b66\u5929\u4e0b.txt&#8212;&#8212;-20279247 KB&#8212;&#8212;&#8211;20131114H:ook\u6df1\u5165java\u865a\u62df\u673a.pdf&#8212;&#8212;-19936351 KB&#8212;&#8212;&#8211;20130303H:ook\ufffd4\u5b98\u9014\u5b98\u9014.txt&#8212;&#8212;-19668417 KB&#8212;&#8212;&#8211;20130907H:ook\u91d1\u5eb8\u4e16\u754c\u91cc\u7684\u9053\u58eb.txt&#8212;&#8212;-19004109 KB&#8212;&#8212;&#8211;20130102H:wandoujiapatch\u5feb\u64ad_1390061188726.patch&#8212;&#8212;-18649129 KB&#8212;&#8212;&#8211;20140119H:BaiduMapmphguangzhou_257.dat&#8212;&#8212;-16645639 KB&#8212;&#8212;&#8211;20140120H:ook\u6218\u7687.txt&#8212;&#8212;-15588332 KB&#8212;&#8212;&#8211;20121215H:Downloadcom.tencent.mobileqq_52.apk&#8212;&#8212;-15128435 KB&#8212;&#8212;&#8211;20130521H:ook\ufffd4\u8d85\u7ea7\u519c\u6c11\u8d85\u7ea7\u519c\u6c11.txt&#8212;&#8212;-13913630 KB&#8212;&#8212;&#8211;20130807H:ook\ufffd4\u5510\u5bc5\u5728\u5f02\u754c\u5510\u5bc5\u5728\u5f02\u754c.txt&#8212;&#8212;-13328290 KB&#8212;&#8212;&#8211;20130726H:ook\ufffd4\u672b\u65e5\u87d1\u8782\u672b\u65e5\u87d1\u8782.txt&#8212;&#8212;-13177834 KB&#8212;&#8212;&#8211;20131129H:ook\ufffd4\u6613\u7b4b\u7ecf\u6613\u7b4b\u7ecf.txt&#8212;&#8212;-12995888 KB&#8212;&#8212;&#8211;20130715H:ook\ufffd4\u6297\u6218\u4e4b\u7ea2\u8272\u8b66\u6212\u6297\u6218\u4e4b\u7ea2\u8272\u8b66\u6212.txt&#8212;&#8212;-12828979 KB&#8212;&#8212;&#8211;20130928H:ook ew\u9053.txt&#8212;&#8212;-12445787 KB&#8212;&#8212;&#8211;20130326H:ook\ufffd4895\u6dd8\u91d1\u56fd\u5ea6895\u6dd8\u91d1\u56fd\u5ea6.txt&#8212;&#8212;-12391071 KB&#8212;&#8212;&#8211;20140104H:ook\ufffd4\u6743\u81e3\u6743\u81e3.txt&#8212;&#8212;-11949796 KB&#8212;&#8212;&#8211;20130726H:install\ufffdweishi_167.apk&#8212;&#8212;-11342128 KB&#8212;&#8212;&#8211;20131009H:ook\ufffd3.9.19\u6597\u7834\u82cd\u7a79.txt&#8212;&#8212;-10776149 KB&#8212;&#8212;&#8211;20130103H:installaiduditu.apk&#8212;&#8212;-10685159 KB&#8212;&#8212;&#8211;20130511H:DBOPResourcescfgdb.cfg&#8212;&#8212;-10647552 KB&#8212;&#8212;&#8211;20130520 windows\u7684\u5f0a\u7aef\uff0c\u4e0d\u80fd\u5bf9\u6587\u4ef6\u5939\u7684\u5927\u5c0f\u8fdb\u884c\u663e\u793a\u3002 \u5c31\u4e24\u4e2a\u7c7b, package&nbsp;com.he.jinbin;import&nbsp;java.util.Date;\/** &nbsp;*&nbsp;\u7528\u4e8e\u6392\u5e8f\u903b\u8f91\u5b9e\u4f53\u7c7b &nbsp;*&nbsp; &nbsp;*&nbsp;@author&nbsp;\u4f55\u9526\u5f6c&nbsp;&nbsp;&nbsp;&nbsp;QQ&nbsp;277803242 &nbsp;*&nbsp;*\/public&nbsp;class&nbsp;FileItem&nbsp;implements&nbsp;Comparable&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;String&nbsp;fileName;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;long&nbsp;size;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;Date&nbsp;creatTime;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;FileItem(String&nbsp;fileName,&nbsp;long&nbsp;size,&nbsp;Date&nbsp;creaDate)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/\/&nbsp;TODO&nbsp;Auto-generated&nbsp;constructor&nbsp;stub &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.fileName&nbsp;=&nbsp;fileName;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.size&nbsp;=&nbsp;size;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.creatTime&nbsp;=&nbsp;creaDate; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-30012","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=30012"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30012\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=30012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=30012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=30012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}