{"id":1220,"date":"2022-05-29T22:29:56","date_gmt":"2022-05-29T14:29:56","guid":{"rendered":"https:\/\/sanlangcode.com\/?p=1220"},"modified":"2022-05-29T22:29:56","modified_gmt":"2022-05-29T14:29:56","slug":"arrays-sort%e5%b8%b8%e8%a7%81%e7%94%a8%e6%b3%95","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2022\/05\/29\/arrays-sort%e5%b8%b8%e8%a7%81%e7%94%a8%e6%b3%95\/","title":{"rendered":"Arrays.sort()\u5e38\u89c1\u7528\u6cd5"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>sort(T[] a)\uff1a\u5bf9\u6307\u5b9aT\u578b\u6570\u7ec4\u6309\u6570\u5b57\u5347\u5e8f\u6392\u5e8f\u3002<\/li><li>sort(T[] a,int formIndex, int toIndex)\uff1a\u5bf9\u6307\u5b9aT\u578b\u6570\u7ec4\u7684\u6307\u5b9a\u8303\u56f4\u6309\u6570\u5b57\u5347\u5e8f\u6392\u5e8f\u3002<\/li><li>sort(T[] a, Comparator&lt;? supre T> c): \u6839\u636e\u6307\u5b9a\u6bd4\u8f83\u5668\u4ea7\u751f\u7684\u987a\u5e8f\u5bf9\u6307\u5b9a\u5bf9\u8c61\u6570\u7ec4\u8fdb\u884c\u6392\u5e8f\u3002<\/li><li>sort(T[] a, int formIndex, int toIndex, Comparator&lt;? supre T> c): \u6839\u636e\u6307\u5b9a\u6bd4\u8f83\u5668\u4ea7\u751f\u7684\u987a\u5e8f\u5bf9\u6307\u5b9a\u5bf9\u8c61\u6570\u7ec4\u7684\u6307\u5b9a\u5bf9\u8c61\u6570\u7ec4\u8fdb\u884c\u6392\u5e8f<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>sort(T[] a)\uff1a\u5bf9\u6307\u5b9aT&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1075,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/1220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=1220"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/1220\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media\/1075"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=1220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=1220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=1220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}