{"id":260,"date":"2020-10-05T01:58:00","date_gmt":"2020-10-05T01:58:00","guid":{"rendered":"http:\/\/scrutineer.co.kr\/wordpress\/?p=260"},"modified":"2021-01-05T02:02:37","modified_gmt":"2021-01-05T02:02:37","slug":"%eb%aa%a8%eb%8d%98-%ec%9e%90%eb%b0%94-%ec%9d%b8-%ec%95%a1%ec%85%98-1%ec%9e%a5-2","status":"publish","type":"post","link":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/2020\/10\/05\/%eb%aa%a8%eb%8d%98-%ec%9e%90%eb%b0%94-%ec%9d%b8-%ec%95%a1%ec%85%98-1%ec%9e%a5-2\/","title":{"rendered":"\ubaa8\ub358 \uc790\ubc14 \uc778 \uc561\uc158 1\uc7a5"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1. \ubaa8\ub358 \uc790\ubc14<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\ub2e4\uc74c\uacfc \uac19\uc740 \ub808\uac70\uc2dc \uc790\ubc14 \ubc84\uc804\uc744 \uae30\uc900\uc73c\ub85c, \uc0ac\uacfc\uc758 \ubb34\uac8c \uc21c sorting\ud558\ub294 \ub85c\uc9c1\uc744 \uc791\uc131<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Collections.sort(inventory, new Comparator&lt;Apple&gt;() {\n  public int compare(Apple 1, Apple a2) {\n    return a1.getWeight().compareTo(a2.getWeight())\n  }\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ubaa8\ub358 \uc790\ubc14 \uae30\uc900\uc73c\ub85c \uc791\uc131\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uac04\uacb0\ud558\uac8c \uc791\uc131 \uac00\ub2a5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">inventory.sort(comparing(Apple::getWeight));<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ub300\uccb4\uc801\uc73c\ub85c 7 -&gt; 8 \uc2dc\uc810\uc774 \ud070 \ubcc0\ud654\uac00 \uc77c\uc5b4\ub09c \uc2dc\uc810\uc73c\ub85c \uac04\uc8fc\ub428. \uc0c1\uae30 \ucf54\ub4dc 2\ubb49\uce58\ub3c4 7\uc774\ud558 vs 7\uc774\uc0c1\uc758 \ucf54\ub4dc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ub300\ud45c\uc801\uc73c\ub85c \ubaa8\ub358 \uc790\ubc14\uc5d0\uc11c \uc774\ub8e8\uc5b4\uc9c4 \uac00\uc7a5 \ud070 \ubcc0\ud654\ub294 \ub2e4\uc74c\uacfc \uac19\uc74c<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uba54\uc18c\ub4dc \ucc38\uc870(method reference)<\/li><li>\uc2a4\ud2b8\ub9bc API<\/li><li>\uc778\ud130\ud398\uc774\uc2a4\uc758 \ub514\ud3f4\ud2b8 \uba54\uc11c\ub4dc<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\ub294 \uadf8\ub0e5 \uc0dd\uac01\uc5c6\uc774 \ucd94\uac00 \ub41c \uae30\ub2a5\uc774 \uc544\ub2c8\ub77c, \ucd5c\uc2e0\uc758 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \ubcf4\ud3b8\uc801\uc73c\ub85c \uc694\uad6c\ud558\ub294 \uc694\uad6c\uc0ac\ud56d\uc744 \ubc18\uc601\ud55c \uacb0\uacfc\uc784.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uba54\uc18c\ub4dc \ucc38\uc870 &#8211;&gt; \uac04\uacb0\ud55c \ucf54\ub4dc \uc791\uc131<\/li><li>\uc2a4\ud2b8\ub9bc API &#8211;&gt; \uba40\ud2f0\ucf54\uc5b4 \ud504\ub85c\uc138\uc11c\uc758 <span class=\"has-inline-color has-vivid-red-color\">\uc26c\uc6b4 \ud65c\uc6a9<\/span><\/li><li>\ub514\ud3f4\ud2b8 \uba54\uc11c\ub4dc &#8211;&gt; \uac04\uacb0\ud55c \ucf54\ub4dc \uc791\uc131 (+\ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9,\ud655\uc7a5\uc131\uc774 \uc6a9\uc774\ud574\uc9d0)<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\ucf54\ub4dc \ubfd0\ub9cc \uc544\ub2c8\ub77c \uc5b8\uc5b4 \uc790\uccb4\uc5d0\ub3c4 \uc9c0\uc18d\uc801\uc73c\ub85c \uc2dc\ub300\uc758 \ud750\ub984\uc5d0 \ubd80\uc751\ud574\uc57c \ud55c\ub2e4\ub294 \uc790\ubc14\uc758 \ucca0\ud559\uc774 \ub2f4\uaca8 \uc788\uc74c.<\/p><\/blockquote>\n\n\n\n<ul class=\"wp-block-list\"><li>\ub808\uac70\uc2dc \uc790\ubc14\uc5d0\uc11c\ubd80\ud130, \uc798 \uc124\uacc4\ub41c &#8216;\uac1d\uccb4\uc9c0\ud5a5&#8217;\uae30\ubc18 \uc5b8\uc5b4\ub85c \ucd9c\ubc1c<\/li><li>\uc2dc\ub300\uc758 \ud750\ub984\uc774 \ubcc0\uacbd\ud558\uc5ec, \uba40\ud2f0\ucf54\uc5b4 \ud504\ub85c\uc138\uc2f1\uc774\ub098 \ud074\ub7ec\uc2a4\ud130\ub9c1, \ube45\ub370\uc774\ud130 \ub4f1\uc758 \ub370\uc774\ud130 \ucc98\ub9ac\ub97c \ud558\ub294\ub370\uc5d0 \uc788\uc5b4\uc11c \uc5b8\uc5b4\ub85c\uc368\uc758 \ubcc0\ud654 \ud544\uc694<ul><li>\uae30\uc874 \ub808\uac70\uc2dc\uc5d0\uc11c\ub3c4 \uc9c0\uc6d0\uc740 \uac00\ub2a5\ud558\ub098, \uc0ac\uc6a9\uc131\uc758 \ud3b8\ub9ac\ud568\uacfc\ub294 \ub2e4\ub978 \ubb38\uc81c&#8230;.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. \uc2a4\ud2b8\ub9bc \ucc98\ub9ac<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\ubaa8\ub358 \uc790\ubc14! \ud558\uba74 \uc0dd\uac01\ub098\ub294 \uac00\uc7a5 \ub300\ud45c\uc801\uc778 \uae30\ub2a5 \ub118\ubc84\uc6d0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uc720\ub2c9\uc2a4 \uae30\ubc18 OS\uc5d0\uc11c \uc4f0\ub294 \uc258\uc758 \ud30c\uc774\ud504\ub77c\uc778(|) \uc744 \uc0dd\uac01\ud558\uba74 \ub428.<ul><li>\ud30c\uc774\ud504\ub77c\uc778\uc758 \uc774\uc804 \ucd9c\ub825\uc774 \ub2e4\uc74c \uc785\ub825\uc73c\ub85c \ub118\uc5b4\uac10<\/li><\/ul><\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">ps -ef | grep java | awk '{print $1}' | xargs kill -9<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>java.util.stream \ud328\ud0a4\uc9c0\ub85c \ucd94\uac00 \ub428<\/li><li><strong><span class=\"has-inline-color has-vivid-red-color\">\ud55c\ubc88\uc5d0 \ud55c \ud56d\ubaa9\uc744 \ucc98\ub9ac\ud558\ub294 \ud615\uc2dd\uc758 \uae30\uc874 \ub808\uac70\uc2dc \ucf54\ub4dc\uc5d0\uc11c, \uace0 \uc218\uc900\uc73c\ub85c \ucd94\uc0c1\ud654\uc2dc\ucf1c \uc77c\ub828\uc758 \uc2a4\ud2b8\ub9bc\uc73c\ub85c \ud55c\ubc88\uc5d0 \ucc98\ub9ac \uac00\ub2a5<\/span><\/strong><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>\uac70\ub798 \ub9ac\uc2a4\ud2b8\ub4e4\uc744 \uc785\ub825\ubc1b\uc544, \uac00\uce58\uac00 1000 \uc774\uc0c1\uc778 \uac74\ub4e4\ub9cc \ucde8\ud569\ud558\ub294 \ud544\ud130\ub9c1 \ud6c4, \uad6d\uac00\ubcc4 \ud1b5\ud654\ub85c \uadf8\ub8f9\ud551 \ud558\ub294 \ucf54\ub4dc\uac00 \ud544\uc694\ud55c \uacbd\uc6b0<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\ub808\uac70\uc2dc \uc790\ubc14\ub85c \uc774\ub97c \uad6c\ud604\ud574\ubcf4\uc790(\uc77d\uc5b4\uc11c \ud574\uc11d\ud558\ub824 \ud558\uc9c0 \ub9d0\uc790&#8230;.)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Map&lt;Currency, List&lt;Transaction&gt;&gt; transactionByCurrencies = new HashMap&lt;&gt;();\nList&lt;Transaction&gt; transactions = getTransactions();\n\nfor (Transaction transaction : transactions) {\n  if (transaction.getPrice() &gt; 1000) {\n    Currency currency = transaction.getCurrency();\n    List&lt;Transaction&gt; transactionsForCurrency = \n        transactionByCurrencies.get(currency);\n    if (transactionsForCurrency == null) {\n      transactionsForCurrency = new ArrayList();\n      transactionByCurrencies.put(currency, transactionsForCurrency);\n\n    }\n    transactionsForCurrency.add(transaction);\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ubd88-\ud3b8<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud2b9\ud788 \uc2e0\ub098\uac8c \uac1c\ubc1c\ud558\ub2e4\ubcf4\uba74 \ud754\ud788 \ube7c\uba39\uc744 \uc218\ub3c4 \uc788\ub294 null\uccb4\ud06c\ub294&#8230;. \ub193\uce58\ub294 \uc21c\uac04 \uc7a5\uc560\uc758 \ud3ec\uc778\ud2b8\uac00 \ub420 \uc218\ub3c4 \uc788\uc74c. \uadf9\ud610.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc2a4\ud2b8\ub9bc\uc744 \uc544\ub08c\uc5c6\uc774 \ud37c\ubd80\uc5b4 \uc774 \ucf54\ub4dc\ub97c \ubaa8\ub358 \uc790\ubc14 \uc2a4\ud0c0\uc77c\ub85c \uad6c\ud604\ud574 \ubcf8\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">List&lt;Transaction&gt; transactions = getTransactions();\nMap&lt;Currency, List&lt;Transaction&gt;&gt; transactionByCurrencies = \n    transactions.stream()\n                .filter((Transaction t) -&gt; t.getPrice() &gt; 1000)\n                .collect(groupingBy(Transaction::getCurrency));<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ud3b8-\uc548<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\b\ud544\ud130\ub9c1\uc744 \ud558\ub294 \ub3d9\uc791 \ud558\ub098, \uadf8\ub8f9\ud654 \ucde8\ud569 \ud558\ub098, \uc774\ub807\uac8c \ub450 \uac00\uc9c0\uc758 \ub3d9\uc791\uc744 \ud558\ub098\uc758 \uc2a4\ud2b8\ub9bc\uc73c\ub85c \ucc98\ub9ac<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">2.1. \uba40\ud2f0 \uc2a4\ub808\ub529<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uba40\ud2f0 \uc2a4\ub808\ub529\uc774 \uc5b4\ub824\uc6b4 \uc774\uc720<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\ub300\ubd80\ubd84\uc758 \uc790\uc6d0\ub4e4\uc774 \uacf5\uc720 \uc790\uc6d0\ub4e4\uc774\uae30 \ub54c\ubb38\uc5d0 <ul><li>mutual exclusive \ud558\uc9c0 \uc54a\uc740 \ub9ac\uc18c\uc2a4\ub4e4\uc744 \uad00\ub9ac \uc798 \ud574\uc57c \ud568<\/li><\/ul><ul><li>critical section \uad00\ub9ac\ub3c4 \ud544\uc694(\uc138\ub9c8\ud3ec\uc5b4, lock \ub4f1\ub4f1)<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\uc704\uc5d0 \uc801\uc5b4\ub193\uc740 \uac83\ub4e4\uc744 \uad6c\ud604\uc790\uac00 \uc9c1\uc811 \ub2e4 \uace0\ub824\ud574\uc11c \ubc84\uadf8 \uc548\ub098\uac8c \ucf54\ub4dc\ub97c \uc798~ \uc9dc\uc57c \ud55c\ub2e4&#8230;&#8230;..  &lt;&#8211; \uc774\uac8c \ubb38\uc81c\uc784. \uc798 \ubabb\uc9dc\uba74&#8230;.?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uadfc\ub370, \uc2a4\ud2b8\ub9bc\uc744 \uc798 \ud65c\uc6a9\ud558\uba74 \uc704\uc5d0\uc11c \uac71\uc815\ud558\ub294 \ubd80\ubd84\uc744 \uace0\ub824\ud558\uc9c0 \uc54a\uace0\ub3c4 <span class=\"has-inline-color has-vivid-red-color\">&#8216;\uba40\ud2f0 \uc2a4\ub808\ub4dc(Thread)&#8217;<\/span> \ub85c \ub3d9\uc791\uc2dc\ud0ac \uc218\ub3c4 \uc788\uc74c.(\uc2a4\ud2b8\ub9bc API\uc5d0 \uc774\ubbf8 \uc801\uc808\ud788 \uc798 \uad6c\ud604\ub418\uc5b4 \uc788\uc73c\ub2c8\uae4c.) &lt;&#8211; \uba40\ud2f0\uc2a4\ub808\ub4dc\ub97c \uc798 \ubabb\uc9dc\ub3c4 \uc5b4\ucc28\ud53c \uba40\ud2f0\uc2a4\ub808\ub529\uc744 \uc2a4\ud2b8\ub9bc API \uc790\uccb4\uc5d0\uc11c \uc218\ud589\ud558\ub2c8 \uc2a4\ud2b8\ub9bcAPI\uc5d0 \ubc84\uadf8\uac00 \uc788\uc9c0 \uc54a\ub294 \ud55c \ubb38\uc81c \uc74c\uc2b4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ubcd1\ub82c \uc2a4\ud2b8\ub9bc\uc774 \uadf8\ub7fc \uc5b4\ub5bb\uac8c \uc791\uc5c5\uc744 \ubd84\ub9ac\ud558\ub294\uac00?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc790\uccb4\uc801\uc73c\ub85c \uc2a4\ud2b8\ub9bc API\ub97c \uc774\uc6a9\ud558\uc5ec \ub9ac\uc2a4\ud2b8\ub97c \ub2e8\uc704\ubcc4\ub85c \ucabc\uac1c(\ud3ec\ud0b9. forking), \uac01\uac01\uc758 CPU \ucf54\uc5b4\uc5d0 \uc791\uc5c5\uc744 \ud560\ub2f9\ud558\uc5ec \uc790\ub3d9\uc801\uc73c\ub85c \uba40\ud2f0\ucf54\uc5b4 \ud504\ub85c\uc138\uc11c\ub97c \uc81c\ub300\ub85c \ud65c\uc6a9\ud558\uac8c\ub054 \ucc98\ub9ac.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"684\" src=\"http:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_3B1A841401AC-1-1024x684.jpeg\" alt=\"\" class=\"wp-image-32\" srcset=\"https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_3B1A841401AC-1-1024x684.jpeg 1024w, https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_3B1A841401AC-1-300x200.jpeg 300w, https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_3B1A841401AC-1-768x513.jpeg 768w, https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_3B1A841401AC-1.jpeg 1497w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">List&lt;Apple&gt; heavyApples = inventory.stream()\n                                   .filter((Apple a) -&gt; a.getWeight() &gt; 150)\n                                   .collect(toList());<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc704\uc758 \ucf54\ub4dc\uc758 stream() \uc744 parallelStream() \uc73c\ub85c \ubc14\uafb8\uae30\ub9cc \ud574\ub3c4 \ubcd1\ub82c\ucc98\ub9ac\ub85c \ub3d9\uc791\ud568.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">List&lt;Apple&gt; heavyApples = inventory.parallelStream()\n                                   .filter((Apple a) -&gt; a.getWeight() &gt; 150)\n                                   .collect(toList());<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. \uba54\uc18c\ub4dc \ucc38\uc870<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\ub3d9\uc791(\uba54\uc18c\ub4dc) \uc790\uccb4\ub97c \ud30c\ub77c\ubbf8\ud130\ud654 \uc2dc\ucf1c\uc11c, &#8216;\uac12&#8217; \uc774 \uc544\ub2cc &#8216;\ucf54\ub4dc&#8217; \ub97c \ub610 \ub2e4\ub978 \uba54\uc18c\ub4dc\uc5d0 \uc804\ub2ec\ud558\ub294 \uac83\uc774 \ud575\uc2ec<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uc65c \ud574\uc57c \ud568?<ul><li>\ubb50&#8230;. \uc368\ubcf4\uba74 \uc548\ub2e4. \ud3b8\ud558\ub2c8\uae4c&#8230; \uc774\uac8c \uc88b\uc740\ub370 \ub300\uccb4 \uc5b4\ub5bb\uac8c \uc124\uba85\ud574\uc57c \ud560\uc9c0 \ubaa8\ub974\uaca0\ub124&#8230;<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">&#8216;\ud504\ub85c\uadf8\ub798\ubc0d&#8217;\uc758 \ubaa8\ub4e0 \ub3d9\uc791\ub4e4\uc744 \uc798 \uc0dd\uac01\ud574\ubcf4\uba74, \uc5b4\uca0c\ub4e0 &#8216;\uac12\uc744 \ubc14\uafb8\ub294 \ud589\uc704&#8217;\ub97c \uc791\uc131\ud558\ub294 \uac83\uc784.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud558\uc9c0\ub9cc \uc774 &#8216;\uac12&#8217;\uc774\ub780 \uac74, \ub808\uac70\uc2dc \uc790\ubc14\uc5d0\uc11c\ub294 \ub9d0 \uadf8\ub300\ub85c \uac12\uc744 \ud45c\ud604\ud558\ub294 \ubcc0\uc218, \ud639\uc740 \uac1d\uccb4(\uc758 \ub808\ud37c\ub7f0\uc2a4)\ub9cc\uc744 \ub73b\ud558\uc9c0, \uba54\uc18c\ub4dc \ud639\uc740 \ud074\ub798\uc2a4 \uadf8 \uc790\uccb4\ub97c \uac12\uc73c\ub85c \uac04\uc8fc\ud558\uc5ec \ub2e4\ub978 \uba54\uc18c\ub4dc\uc5d0 \uc804\ub2ec\ud558\ub294 \ubc29\ubc95\uc774 \uc5c6\uc74c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ucc45\uc5d0\uc11c\ub294 \ubcc0\uc218,\uac1d\uccb4\ub97c \uc77c\uae09(First class)\uac12, \uba54\uc18c\ub4dc, \ud074\ub798\uc2a4\ub97c \uc774\uae09 \uac12\uc73c\ub85c \uad6c\ubd84\ud558\uc5ec \uc124\uba85\ud558\uc600\ub294\ub370, \uc5b4\uca0c\ub4e0 \uc774\uae09 \uac12\uc73c\ub85c \uac04\uc8fc\ub418\ub294 \uba54\uc18c\ub4dc\ub97c \uc77c\uae09 \uac12\ucc98\ub7fc \uc0ac\uc6a9\ud558\uba74 \ud504\ub85c\uadf8\ub798\ubc0d\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc74c.<\/p>\n\n\n\n<p class=\"has-cyan-bluish-gray-color has-text-color wp-block-paragraph\" style=\"font-size:17px\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">\uc0ac\uc2e4 \ubc30\uc6b0\ub294 \uc785\uc7a5\uc5d0\uc11c &#8216;\ud574\ubcf4\ub2c8\uae4c \uadf8\ub807\ub2e4\uace0 \ud558\ub354\ub77c&#8217; \ub77c\uace0\uae4c\uc9c0 \uc124\uba85\ub4e3\uace0, \uac70\uae30\uc11c \uadf8\uce58\uba74 \uacf5\uac10\uc744 \ud558\uc9c0 \ubabb\ud55c\ub2e4.(\uacbd\ud5d8\ud558\uc9c0 \ubabb\ud574\uc11c \uacf5\ubd80\ub97c \ud558\ub294\uac74\ub370, &#8216;\uadf8\ub807\ub2e4\uace0 \ud55c\ub2e4&#8217; \ub77c\uace0 \ub9d0\ud558\uba74 \ubc18\uc751\uc740 \ub458 \uc911 \ud558\ub098. &#8216;\ubb34\uc2a8\uc18c\ub9ac\uc57c?&#8217; \ud639\uc740 &#8216;\ub531\ud788 \uc548 \ubd88\ud3b8\ud55c\ub370.&#8217; &#8216;\uc775\uc219\ud55c \uc9c0\uae08\uc774 \ud6e8 \uc88b\uc740 \uac83 \uac19\uc740\ub370.&#8217; ) &lt;&#8211; \uc774\uac8c \uacfc\uac70\uc758 \ub098. \uadfc\ub370 \uc774 \uc18c\ub9ac X\uc18c\ub9ac\uc600\uc74c.\u3147\u3147<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\ub7f4\ub550 \uc608\uc81c\ub97c \ud55c\ubc88 \ubcf4\uba74 \ub41c\ub2e4. \ud30c\uc77c\uc2dc\uc2a4\ud15c \uc548\uc5d0 \uc788\ub294 \ud30c\uc77c\ub4e4 \uc911\uc5d0, \uc228\uae40\ucc98\ub9ac \ub418\uc5b4\uc788\ub294 \ud30c\uc77c\uc758 \ub9ac\uc2a4\ud2b8\ub97c \uc5bb\uace0 \uc2f6\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud558\uace0\uc790 \ud55c\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ub808\uac70\uc2dc \uc790\ubc14\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ub428<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">File[] hiddenFiles = new File(\".\").listFiles( new FileFilter() {\n  public boolean accept(File file) {\n    return file.isHidden();\n  }\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ud30c\uc77c\uc758 \ub9ac\uc2a4\ud305\uc744 \ud574 \uc8fc\ub294 listFiles() \uba54\uc18c\ub4dc\ub97c \ud638\ucd9c\ud558\ub294\ub370, \uadf8 \uc778\uc790\uac12\uc73c\ub85c&#8230;. \uc774\ubbf8 File\ud074\ub798\uc2a4 \uc548\uc5d0 \uad6c\ud604\ub418\uc5b4 \uc788\ub294 isHidden() \uc744 &#8216;\ud55c\ubc88 \uac10\uc2f8\uc11c&#8217; \uad73\uc774 FileFilter \uac1d\uccb4\ub97c \ub9cc\ub4e4\uc5b4 \ub358\uc838\uc918\uc57c \ud55c\ub2e4. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ub808\uac70\uc2dc \uc790\ubc14\uc5d0\uc11c\ub294 \uc774\uae09 \uac12(\uba54\uc18c\ub4dc,\ud074\ub798\uc2a4) \uadf8 \uc790\uccb4\ub97c \ud568\uc218\uc758 \ud30c\ub77c\ubbf8\ud130\ub85c \ub358\uc838\uc8fc\ub294 \uae30\ub2a5\uc774 \uc5c6\uae30 \ub54c\ubb38\uc5d0, \uad73\uc774 \ud074\ub798\uc2a4\ub97c \ud1b5\ud574 \uac1d\uccb4\ub97c \ud55c\ubc88 \ub354 \uc0dd\uc131\ud574\uc11c \uc77c\uae09 \uac12(\ubcc0\uc218,\uac1d\uccb4)\uc744 \ub118\uaca8\uc8fc\ub294 \uac83\uc784.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\uc81c \ubaa8\ub358 \uc790\ubc14\uc758 \ucf54\ub4dc\ub97c \ubcf4\uc790. \uc55e\uc11c \ub9d0\ud588\ub4ef \ubaa8\ub358 \uc790\ubc14\ub294 \uba54\uc18c\ub4dc \uadf8 \uc790\uccb4\ub97c \uc77c\uae09 \uac12\uc73c\ub85c \uac04\uc8fc\ud558\uc5ec, \uba54\uc18c\ub4dc\ub97c \ud2b9\uc815 \uba54\uc18c\ub4dc\uc758 \ud30c\ub77c\ubbf8\ud130\ub85c \ud65c\uc6a9\ud560 \uc218\uac00 \uc788\ub2e4\uace0 \ud558\uc600\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">file[] hiddenFiles = new File(\".\").listFiles(File::isHidden);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ud3b8-\uc548<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uad73\uc774 \uc4f8\ub370\uc5c6\ub294 FileFilter \uac1d\uccb4\ub97c \uc0dd\uc131\ud558\uc9c0 \uc54a\uace0, isHidden() \uba54\uc18c\ub4dc \uadf8 \uc790\uccb4\ub97c \uac12\uc73c\ub85c \uac04\uc8fc\ud558\uc5ec \ub118\uaca8\ubc84\ub9ac\ub2c8, \ucf54\ub4dc\uc758 \uac00\ub3c5\uc131\ub3c4 \ub298\uc5b4\ub098\uace0 \uc190\uac00\ub77d\ub3c4 \ub35c \uc544\ud514<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"833\" src=\"http:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_BB61DDF6AF70-1-1024x833.jpeg\" alt=\"\" class=\"wp-image-36\" srcset=\"https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_BB61DDF6AF70-1-1024x833.jpeg 1024w, https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_BB61DDF6AF70-1-300x244.jpeg 300w, https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_BB61DDF6AF70-1-768x625.jpeg 768w, https:\/\/scrutineer.co.kr\/wordpress\/wp-content\/uploads\/2020\/11\/IMG_BB61DDF6AF70-1.jpeg 1229w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">3.1. \uba54\uc18c\ub4dc \ucc38\uc870 \uc751\uc6a9(??)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\ubc88\uc5d4, \uae30\uc900\ub9cc \ub2e4\ub974\uace0 \ud589\uc704 \uc790\uccb4\ub294 \uac19\uc740 \ud589\uc704\ub97c \uc5ec\ub7ec\ubc88 \ud558\ub294 \uc608\ub97c \ud55c\ubc88 \ub4e4\uc5b4\ubcf8\ub2e4.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uc0ac\uacfc\ub97c \ud544\ud130\ub9c1\ud558\uace0 \uc2f6\uc74c.<ul><li>\ub179\uc0c9 \uc0ac\uacfc<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\ub808\uac70\uc2dc \uc790\ubc14\ub97c \ud1b5\ud574\uc11c \uc774 &#8216;\ud544\ud130\ub9c1&#8217; \ud589\uc704\ub97c \uad6c\ud604\ud558\uace0\uc790 \ud558\uba74, \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ub420 \uc218 \uc788\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">public static List&lt;Apple&gt; filterGreenApple(List&lt;Apple&gt; inventory) {\n  List&lt;Apple&gt; result = new ArrayList&lt;&gt;();\n\n  for (Apple apple: inventory) {\n    if (GREEN.equals(apple.getColor())) {\n      result.add(apple);\n    }\n  }\n  return result;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uac1c\ubc1c\uc790 A\uac00 \uc774\ub807\uac8c \uc798 \uc9dc\ub1a8\ub2e4. \uadf8\ub9ac\uace0 \uc2dc\uac04\uc774 \uc9c0\ub098 \ud1f4\uc0ac\ud558\uace0, \uac1c\ubc1c\uc790 B\uac00 \uc785\uc0ac\ub97c \ud588\ub294\ub370 \uc694\uad6c\uc870\uac74\uc774 \ub4e4\uc5b4\uc628\ub2e4.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uc0ac\uacfc\ub97c \ud544\ud130\ub9c1\ud558\uace0 \uc2f6\uc74c.<ul><li>150\uadf8\ub7a8\uc774 \ub118\ub294 \uc0ac\uacfc<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\uc608\uc81c\uac00 \uac04\ub2e8\ud574\uc11c \uadf8\ub807\uc9c0, \uc2e4\ubb34\uc5d0\uc11c \uc800\ub7f0 \uc694\uad6c\uc0ac\ud56d \ube44\uc77c\ube44\uc7ac\ud558\uace0, \ub610 \uc694\uad6c\uc0ac\ud56d \ubc1c\uc0dd\ud558\uba74 \ubcf4\ud1b5 \uc0c8\ub85c \uc9dc\uac70\ub098, \uc5b4\ucc0c\uc5b4\ucc0c \uc6b4 \uc88b\uc544\uc11c \uae30\uc874 \ucf54\ub4dc\ub97c \ubcf4\uba74, \uadf8\uac78 \uc190\ubcf4\uc9c0 \uc54a(\ubabb\ud558)\uace0 \uadf8\ub0e5 \ub2e8\uc21c \ubcf5\ubd99\ud574\uc11c \ub0b4 \uad6c\ubbf8\uc5d0 \ub9de\ub294 \ubd80\ubd84\ub9cc \uc218\uc815\ud574\uc11c \ubc30\ud3ec\ud568&#8230;. \ud2b9\ud788 \uc774 \uacbd\ud5a5\uc740 \uae30\uc874 \ucf54\ub4dc\uac00 \uaddc\ubaa8\uac00 \ud06c\uace0 \uc5c9\ub9dd\uc778 \uc0c1\ud0dc\ub77c\uba74 \ub354\ub354\uc6b1 \uc2ec\ud574\uc9d0(\uc545\uc21c\ud658)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">public static List&lt;Apple&gt; filterHeavyApple(List&lt;Apple&gt; inventory) {\n  List&lt;Apple&gt; result = new ArrayList&lt;&gt;();\n\n  for (Apple apple: inventory) {\n    if (apple.getWeight() &gt; 150) {\n      result.add(apple);\n    }\n  }\n  return result;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uac1c\ubc1c\uc790 B\ub3c4 \ud1f4\uc0ac\ud558\uace0 C\uac00 \uc785\uc0ac\ub97c \ud588\ub2e4. \uc774\ubc88\uc5d4 \ubc8c\ub808 \uc548\uba39\uc740 \uc0ac\uacfc\ub97c \ud544\ub7ec\ub9c1\ud574\ub2ec\ub77c\ub294 \uc694\uad6c\uac00 \ub4e4\uc5b4\uc628\ub2e4&#8230;&#8230;\uc774\ud6c4 \ubc8c\uc5b4\uc9c8 \uc0c1\ud669\uc740 \uc124\uba85 \uc0dd\ub7b5..<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc0c1\uae30 \ub450\uac1c\uc758 \ucf54\ub4dc \ube14\ub7ed\uc740 \uc798 \ubcf4\uba74, if\ubb38\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 &#8216;\ub3d9\uc791&#8217; \ud558\ub098\ub9cc \ub2e4\ub974\ub2e4. <strong>\uba54\uc18c\ub4dc \ucc38\uc870\ub97c \ubc30\uc6e0\uc73c\ub2c8, \uc774\uc820 \uc774 &#8216;\ub3d9\uc791&#8217;\uc744 \ubcc0\uc218\ucc98\ub7fc(1\uae09) \uba54\uc18c\ub4dc(2\uae09 &#8211;&gt; 1\uae09)\ub85c \uc815\uc758\ud55c \ub2e4\uc74c, \ub2e4\ub978 \uba54\uc18c\ub4dc\uc758 \ud30c\ub77c\ubbf8\ud130\ub85c \ub118\uae38 \uc218 \uc788\ub2e4\ub294 \uc0dd\uac01\uc744 \uc800\uc808\ub85c \ud574\uc57c \ud560 \uac83\uc774\ub2e4.<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">public static boolean isGreenApple(Apple apple) {\n  return GREEN.equals(apple.getColor());\n}\npublic static boolean isHeavyApple(Apple apple) {\n  return apple.getWeight() &gt; 150;\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">public static List&lt;Apple&gt; filterApples(List&lt;Apple&gt; inventory, Predicate&lt;Apple&gt; p) {\n  List&lt;Apple&gt; result = new ArrayList&lt;&gt;();\n  for(Apple apple: inventory) {\n    if (p.test(apple)) { \/\/\uc774 \uba54\uc18c\ub4dc\uac00 \uac12\uc73c\ub85c \uc8fc\uc785\ub428 \n      result.add(apple);\n    }\n  }\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">filterApples(inventory, Apple::isGreenApple);\nfilterApples(inventory, Apple::isHeavyApple);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ud3b8-\uc548<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uadf8\ub7f0\ub370 \uba54\uc18c\ub4dc \uc815\uc758 \uc790\uccb4\uac00 \uadc0\ucc2e\uc744 \ub54c\uc5d4?<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">3.2. \ub78c\ub2e4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\ub78c\ub2e4\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud2b9\uc815 \uba54\uc18c\ub4dc\uac00 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ud55c\ub450\ubc88\uc815\ub3c4\ub9cc \uc0ac\uc6a9\ub418\ub294 \uacbd\uc6b0\uc5d0\ub294 \uadf8 \uba54\uc18c\ub4dc\ub97c \uc815\uc758\ud558\ub294 \ube44\uc6a9\ubcf4\ub2e4\ub294, \uadf8\ub0e5 \ud638\ucd9c \uc2dc\uc810\uc5d0\uc11c \uc791\uc131\ud558\uace0 \ubc84\ub9ac\ub294 \ud3b8\uc774 \ub354 \ud6a8\uc728\uc801\uc77c\uc218\ub3c4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">filterApples(inventory, (Apple a) -&gt; GREEN.equals(a.getColor()));\nfilterApples(inventory, (Apple a) -&gt; a.getWeight() &gt; 150);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\ud2b9\ubcc4\ud788 \uc815\ud574\uc9c4 \ubc95\uce59\uc740 \uc5c6\uc73c\ub098, \uc77c\uc885\uc758 \uc554\ubb35\uc801 \ub8f0\ub85c\ub294&#8230;.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\ub78c\ub2e4\uc2dd\uc774 3\uc904 \uc774\uc0c1 \ub118\uc5b4\uac04\ub2e4\uba74 \uadf8\ub0e5 \uba54\uc18c\ub4dc \uc815\uc758\ub97c \ud560 \uc9c0\uc5d0 \ub300\ud574 \uace0\ubbfc\ud574\ubd10\uc57c \ud55c\ub2e4<ul><li>\ud639\uc740 \ub85c\uc9c1 \uc790\uccb4\uac00 \ubb38\uc81c\uac00 \uc788\ub294 \uac83\uc77c\uc218\ub3c4<\/li><\/ul><\/li><li>\uac19\uc740 \ub78c\ub2e4\uc2dd\uc774 3\ubc88 \uc774\uc0c1 \ud638\ucd9c\ub41c\ub2e4\uba74(\uc0ac\uc2e4 3\ubc88\ub3c4 \ub9ce\ub2e4. \ub450\ubc88 \uc774\uc0c1.) \uba54\uc18c\ub4dc \uc815\uc758\ub97c \ud560 \uc9c0\uc5d0 \ub300\ud574 \uace0\ubbfc\ud574\ubd10\uc57c \ud55c\ub2e4<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. \ub514\ud3f4\ud2b8 \uba54\uc18c\ub4dc<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc790\ubc14 8\uc11c\ubd80\ud130\ub294 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc27d\uac8c \ubc14\uafc0 \uc218 \uc788\ub3c4\ub85d \ub514\ud3f4\ud2b8 \uba54\uc18c\ub4dc\ub97c \uc9c0\uc6d0\ud55c\ub2e4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774\uac8c \ubb58 \ub73b\ud558\ub294 \uac83\uc77c\uae4c?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc608\ub97c \ub4e4\uc5b4 (\ubed8\uc9d3\uac19\uc9c0\ub9cc)\ub808\uac70\uc2dc \uc790\ubc14\uc5d0\uc11c \bList \uac1d\uccb4\uc5d0 stream api\ub97c \uba39\uc774\uace0 \uc2f6\ub2e4\uace0 \uce58\uc790.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">List\ub294 Collection\uc744 \uad6c\ud604\ud55c \ud074\ub798\uc2a4\uc774\ubbc0\ub85c Collection \uc5d0 stream() \uc774\ub77c\ub294 \uc778\ud130\ud398\uc774\uc2a4 \uba54\uc18c\ub4dc\ub97c \uc0dd\uc131\ud558\uac8c \ub41c\ub2e4.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\uc774 \uc21c\uac04\ubd80\ud130 \ud5ec\ud30c\ud2f0<ul><li>Collection\uc744 \uc0c1\uc18d\ubc1b\uc544 \uad6c\ud604\ud558\ub294 \ubaa8~~~~~~\ub4e0 \ud074\ub798\uc2a4\uc5d0 stream()\uc744 \uad6c\ud604\ud574 \uc8fc\uc5b4\uc57c \ud55c\ub2e4.<ul><li>\uad6c\ud604\ub3c4 \uad6c\ud604\uc774\uc9c0\ub9cc \uad6c\ud604\ud55c \ucf54\ub4dc \ud14c\uc2a4\ud2b8\ub294..? \ud130\uc9c0\ub294 \ubc84\uadf8\ub294&#8230;.?<\/li><\/ul><\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/sungjk.github.io\/images\/2019\/03\/28\/java-collection.png\" alt=\"\"\/><figcaption>\uc774&#8230;&#8230;..\uc774\uac78 \ub2e4\uc694&#8230;&#8230;..?<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\uadf8\ub798\uc11c \uc790\ubc14 8\ubd80\ud130\ub294, \uc778\ud130\ud398\uc774\uc2a4\uc5d0 \ub514\ud3f4\ud2b8 \uba54\uc18c\ub4dc \uae30\ub2a5\uc744 \uc9c0\uc6d0\ud574 \uc900\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">default void sort(Comparator&lt;? super E&gt; c) {\n  Collections.sort(this,c);\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c \ub514\ud3f4\ud2b8 \uba54\uc18c\ub4dc\ub97c \uc815\uc758\ud574 \ub193\uc73c\uba74, \uc774\ub97c \uad6c\ud604\ud558\ub294 \ud074\ub798\uc2a4\ub294 \uadf8 \ud074\ub798\uc2a4\uc5d0\uc11c \ud2b9\ubcc4\ud788 \uad6c\ud604\uc744 \ud558\uc9c0 \uc54a\ub294 \uc774\uc0c1, \uc778\ud130\ud398\uc774\uc2a4\uc758 \uba54\uc18c\ub4dc\ub97c \uc0c1\uc18d\ubc1b\uc544 \uc0ac\uc6a9\ud55c\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \ubaa8\ub358 \uc790\ubc14 \ub2e4\uc74c\uacfc \uac19\uc740 \ub808\uac70\uc2dc \uc790\ubc14 \ubc84\uc804\uc744 \uae30\uc900\uc73c\ub85c, \uc0ac\uacfc\uc758 \ubb34\uac8c \uc21c sorting\ud558\ub294 \ub85c\uc9c1\uc744 \uc791\uc131 \ubaa8\ub358 \uc790\ubc14 \uae30\uc900\uc73c\ub85c \uc791\uc131\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uac04\uacb0\ud558\uac8c \uc791\uc131 \uac00\ub2a5 \ub300\uccb4\uc801\uc73c\ub85c 7 -&gt; 8 \uc2dc\uc810\uc774 \ud070 \ubcc0\ud654\uac00 \uc77c\uc5b4\ub09c \uc2dc\uc810\uc73c\ub85c \uac04\uc8fc\ub428. \uc0c1\uae30 \ucf54\ub4dc 2\ubb49\uce58\ub3c4 7\uc774\ud558 vs 7\uc774\uc0c1\uc758 \ucf54\ub4dc. \ub300\ud45c\uc801\uc73c\ub85c \ubaa8\ub358 \uc790\ubc14\uc5d0\uc11c \uc774\ub8e8\uc5b4\uc9c4 \uac00\uc7a5 \ud070 \ubcc0\ud654\ub294 \ub2e4\uc74c\uacfc \uac19\uc74c \uba54\uc18c\ub4dc \ucc38\uc870(method reference) \uc2a4\ud2b8\ub9bc API &#8230; <a title=\"\ubaa8\ub358 \uc790\ubc14 \uc778 \uc561\uc158 1\uc7a5\" class=\"read-more\" href=\"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/2020\/10\/05\/%eb%aa%a8%eb%8d%98-%ec%9e%90%eb%b0%94-%ec%9d%b8-%ec%95%a1%ec%85%98-1%ec%9e%a5-2\/\" aria-label=\"Read more about \ubaa8\ub358 \uc790\ubc14 \uc778 \uc561\uc158 1\uc7a5\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3],"tags":[],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-3"],"_links":{"self":[{"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=260"}],"version-history":[{"count":1,"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/260\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/260\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scrutineer.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}