{"id":372,"date":"2021-05-02T21:30:42","date_gmt":"2021-05-02T13:30:42","guid":{"rendered":"http:\/\/112.124.66.68\/?p=372"},"modified":"2021-05-02T21:30:42","modified_gmt":"2021-05-02T13:30:42","slug":"%e6%b3%9b%e5%9e%8b%e5%b8%b8%e7%94%a8%e7%89%b9%e7%82%b9","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2021\/05\/02\/%e6%b3%9b%e5%9e%8b%e5%b8%b8%e7%94%a8%e7%89%b9%e7%82%b9\/","title":{"rendered":"\u6cdb\u578b\u5e38\u7528\u7279\u70b9"},"content":{"rendered":"\n<p> \u6cdb\u578b\u662fJava SE 1.5\u4e4b\u540e\u7684\u7279\u6027\uff0c \u300aJava \u6838\u5fc3\u6280\u672f\u300b\u4e2d\u5bf9\u6cdb\u578b\u7684\u5b9a\u4e49\u662f\uff1a<br>\u201c\u6cdb\u578b\u201d \u610f\u5473\u7740\u7f16\u5199\u7684\u4ee3\u7801\u53ef\u4ee5\u88ab\u4e0d\u540c\u7c7b\u578b\u7684\u5bf9\u8c61\u6240\u91cd\u7528\u3002<br>\u201c\u6cdb\u578b\u201d\uff0c\u987e\u540d\u601d\u4e49\uff0c\u201c\u6cdb\u6307\u7684\u7c7b\u578b\u201d\u3002\u6211\u4eec\u63d0\u4f9b\u4e86\u6cdb\u6307\u7684\u6982\u5ff5\uff0c\u4f46\u5177\u4f53\u6267\u884c\u7684\u65f6\u5019\u5374\u53ef\u4ee5\u6709\u5177\u4f53\u7684\u89c4\u5219\u6765<br>\u7ea6\u675f\uff0c\u6bd4\u5982\u6211\u4eec\u7528\u7684\u975e\u5e38\u591a\u7684ArrayList\u5c31\u662f\u4e2a\u6cdb\u578b\u7c7b\uff0cArrayList\u4f5c\u4e3a\u96c6\u5408\u53ef\u4ee5\u5b58\u653e\u5404\u79cd\u5143\u7d20\uff0c\u5982<br>Integer, String\uff0c\u81ea\u5b9a\u4e49\u7684\u5404\u79cd\u7c7b\u578b\u7b49\uff0c\u4f46\u5728\u6211\u4eec\u4f7f\u7528\u7684\u65f6\u5019\u901a\u8fc7\u5177\u4f53\u7684\u89c4\u5219\u6765\u7ea6\u675f\uff0c\u5982\u6211\u4eec\u53ef\u4ee5\u7ea6\u675f<br>\u96c6\u5408\u4e2d\u53ea\u5b58\u653eInteger\u7c7b\u578b\u7684\u5143\u7d20\uff0c\u5982<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>List&lt;Integer> iniData = new ArrayList&lt;>();<\/code><\/pre>\n\n\n\n<p><br>\u4f7f\u7528\u6cdb\u578b\u7684\u597d\u5904\uff1f<br>\u4ee5\u96c6\u5408\u6765\u4e3e\u4f8b\uff0c\u4f7f\u7528\u6cdb\u578b\u7684\u597d\u5904\u662f\u6211\u4eec\u4e0d\u5fc5\u56e0\u4e3a\u6dfb\u52a0\u5143\u7d20\u7c7b\u578b\u7684\u4e0d\u540c\u800c\u5b9a\u4e49\u4e0d\u540c\u7c7b\u578b\u7684\u96c6\u5408\uff0c\u5982\u6574\u578b\u96c6<br>\u5408\u7c7b\uff0c\u6d6e\u70b9\u578b\u96c6\u5408\u7c7b\uff0c\u5b57\u7b26\u4e32\u96c6\u5408\u7c7b\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u96c6\u5408\u6765\u5b58\u653e\u6574\u578b\u3001\u6d6e\u70b9\u578b\uff0c\u5b57\u7b26\u4e32\u578b\u6570\u636e\uff0c\u800c<br>\u8fd9\u5e76\u4e0d\u662f\u6700\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u6211\u4eec\u53ea\u8981\u628a\u5e95\u5c42\u5b58\u50a8\u8bbe\u7f6e\u4e86Object\u5373\u53ef\uff0c\u6dfb\u52a0\u7684\u6570\u636e\u5168\u90e8\u90fd\u53ef\u5411\u4e0a\u8f6c\u578b\u4e3a<br>Object\u3002 \u66f4\u91cd\u8981\u7684\u662f\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u89c4\u5219\u6309\u7167\u81ea\u5df1\u7684\u60f3\u6cd5\u63a7\u5236\u5b58\u50a8\u7684\u6570\u636e\u7c7b\u578b\u3002<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6cdb\u578b\u662fJava SE 1.5\u4e4b\u540e&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":325,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-372","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/372","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=372"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media\/325"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}