{"id":82,"date":"2019-05-24T10:14:35","date_gmt":"2019-05-24T01:14:35","guid":{"rendered":"http:\/\/2019se3.satoshis.jp\/?p=82"},"modified":"2019-05-24T13:00:24","modified_gmt":"2019-05-24T04:00:24","slug":"5%e6%9c%8824%e6%97%a5","status":"publish","type":"post","link":"https:\/\/2019se3.satoshis.jp\/?p=82","title":{"rendered":"5\u670824\u65e5"},"content":{"rendered":"<p>\u524d\u56de\u306f\u3001\u4ee5\u4e0b\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u305f\u3068\u3053\u308d\u3067\u7d42\u4e86\u3057\u305f\u3002\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u30b8\u30e5\u30fc\u30b9\u30923\u7a2e\u985e\u7ba1\u7406\u3067\u304d\u308b() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tvm.put(100);\r\n\t\tboolean b = vm.canBuy(&quot;\u6c34&quot;);\r\n\t\tassertThat(b, is(true));\r\n\t\tb = vm.canBuy(&quot;\u30b3\u30fc\u30e9&quot;);\r\n\t\tassertThat(b, is(false));\r\n\t\tb = vm.canBuy(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;);\r\n\t\tassertThat(b, is(false));\r\n\t}\r\n<\/pre>\n<p>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002<br \/>\n\u6c34\u3092\u8cfc\u5165\u3067\u304d\u308b\u304b\u554f\u3044\u5408\u308f\u305b\u305f\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3002<\/p>\n<p>canBuy() \u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u5f15\u6570\u3067\u540d\u524d\u3092\u3082\u3089\u3063\u3066\u3044\u308b\u3051\u3069\u53c2\u7167\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u3002<br \/>\n\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3092\u898b\u3066\u8cfc\u5165\u53ef\u80fd\u304b\u3092\u5224\u65ad\u3059\u308b\u3088\u3046\u306b\u4fee\u6b63\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic boolean canBuy(String name) {\r\n\t\tif (juices.size() == 0) return false;\r\n\t\treturn total &gt;= getJuicePrice(name);\r\n\t}\r\n<\/pre>\n<p>getJuicePrice()\u306b\u3082\u5f15\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3092\u898b\u3066\u4fa1\u683c\u3092\u8fd4\u3059\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic int getJuicePrice(String name) {\r\n\t\tif (name.equals(&quot;\u6c34&quot;)) return 100;\r\n\t\tif (name.equals(&quot;\u30b3\u30fc\u30e9&quot;)) return 120;\r\n\t\treturn 200;\r\n\t}\r\n<\/pre>\n<p>3\u7a2e\u985e\u306e\u30b8\u30e5\u30fc\u30b9\u3092\u8cfc\u5165\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u3001\u6c34\u3092\u8cfc\u5165\u3059\u308b\u30c6\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u30b8\u30e5\u30fc\u30b9\u30923\u7a2e\u985e\u8cfc\u5165\u3059\u308b() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tvm.put(1000);\r\n\t\tJuice j = vm.buy(&quot;\u6c34&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u6c34&quot;));\r\n\t}\r\n<\/pre>\n<p>\u3053\u308c\u307e\u3067\u30011\u7a2e\u985e\uff08\u30b3\u30fc\u30e9\uff09\u3057\u304b\u58f2\u3063\u3066\u306a\u304b\u3063\u305f\u81ea\u52d5\u8ca9\u58f2\u6a5f\u3092\u8907\u6570\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u306e\u306f\u5272\u3068\u5927\u5909\u3002<br \/>\n\u307e\u305a\u306f3\u7a2e\u985e\u306e\u30b8\u30e5\u30fc\u30b9\u3092\u5728\u5eab\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<br \/>\nMap\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3067\u5728\u5eab\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\npublic class VendingMachine {\r\n\tprivate int total;\r\n\tprivate int sales;\r\n\tprivate Map&lt;String, List&lt;Juice&gt;&gt; map = new HashMap&lt;&gt;();\r\n\tprivate List&lt;Juice&gt; juices;\r\n\r\n\tpublic VendingMachine() {\r\n\t\ttotal = 0;\r\n\t\tjuices = new ArrayList&lt;&gt;();\r\n\t\tmap.put(&quot;\u6c34&quot;, juices);\r\n\t\tfor (int i = 0; i &lt; 5; i++) {\r\n\t\t\tjuices.add(new Juice(&quot;\u6c34&quot;, 100));\r\n\t\t}\r\n\t\tjuices = new ArrayList&lt;&gt;();\r\n\t\tmap.put(&quot;\u30b3\u30fc\u30e9&quot;, juices);\r\n\t\tfor (int i = 0; i &lt; 5; i++) {\r\n\t\t\tjuices.add(new Juice(&quot;\u30b3\u30fc\u30e9&quot;, 120));\r\n\t\t}\r\n\t\tjuices = new ArrayList&lt;&gt;();\r\n\t\tmap.put(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;, juices);\r\n\t\tfor (int i = 0; i &lt; 5; i++) {\r\n\t\t\tjuices.add(new Juice(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;, 200));\r\n\t\t}\r\n\t}\r\n<\/pre>\n<p>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u3053\u308c\u307e\u3067\u52d5\u3044\u3066\u3044\u305f\u30c6\u30b9\u30c8\u300c\u30b8\u30e5\u30fc\u30b9\u3092\u8cfc\u5165\u3059\u308b()\u300d\u306a\u3069\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002<br \/>\n\u3053\u308c\u306f\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3092\u898b\u3066\u3044\u306a\u3044\u306e\u304c\u539f\u56e0\u3002<br \/>\n\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3092\u898b\u3066\u3001Map\u304b\u3089\u5728\u5eab\u3092\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; highlight: [3]; title: ; notranslate\" title=\"\">\r\n\tpublic Juice buy(String name) {\r\n\t\tif (!canBuy(name)) return null;\r\n\t\tjuices = map.get(name);\r\n\t\tJuice j = juices.remove(0);\r\n\t\ttotal -= j.getPrice();\r\n\t\tsales += j.getPrice();\r\n\t\treturn j;\r\n\t}\r\n<\/pre>\n<p>3\u7a2e\u985e\u306e\u30b8\u30e5\u30fc\u30b9\u3092\u8cfc\u5165\u3059\u308b\u30c6\u30b9\u30c8\u3092\u66f8\u304f\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u30b8\u30e5\u30fc\u30b9\u30923\u7a2e\u985e\u8cfc\u5165\u3059\u308b() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tvm.put(1000);\r\n\t\tJuice j = vm.buy(&quot;\u6c34&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u6c34&quot;));\r\n\t\tint total = vm.getTotal();\r\n\t\tassertThat(total, is(900));\r\n\t\tint stock = vm.getJuiceStock(&quot;\u6c34&quot;);\r\n\t\tassertThat(stock, is(4));\r\n\r\n\t\tj = vm.buy(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;));\r\n\t\ttotal = vm.getTotal();\r\n\t\tassertThat(total, is(700));\r\n\r\n\t\tj = vm.buy(&quot;\u30b3\u30fc\u30e9&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u30b3\u30fc\u30e9&quot;));\r\n\t\ttotal = vm.getTotal();\r\n\t\tassertThat(total, is(580));\r\n\r\n\t\tint sales = vm.getSales();\r\n\t\tassertThat(sales, is(420));\r\n\t}\r\n<\/pre>\n<p>getJuiceStock() \u306b\u5f15\u6570\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u5728\u5eab\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic int getJuiceStock(String name) {\r\n\t\treturn juices.size();\r\n\t}\r\n<\/pre>\n<p>\u30b8\u30e5\u30fc\u30b9\u306e\u540d\u524d\u3092\u898b\u3066\u306a\u3044\u306e\u306b\u3001getJuiceStock() \u306e\u30c6\u30b9\u30c8\u3092\u30d1\u30b9\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u602a\u3057\u3044\u5b9f\u88c5\u3092\u4fee\u6b63\u3059\u308b\u305f\u3081\u306b\u30c6\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; highlight: [9,10,11,12]; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u30b8\u30e5\u30fc\u30b9\u30923\u7a2e\u985e\u8cfc\u5165\u3059\u308b() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tvm.put(1000);\r\n\t\tJuice j = vm.buy(&quot;\u6c34&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u6c34&quot;));\r\n\t\tint total = vm.getTotal();\r\n\t\tassertThat(total, is(900));\r\n\t\tint stock = vm.getJuiceStock(&quot;\u6c34&quot;);\r\n\t\tassertThat(stock, is(4));\r\n\t\tstock = vm.getJuiceStock(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;);\r\n\t\tassertThat(stock, is(5));\r\n\r\n\t\tj = vm.buy(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;));\r\n\t\ttotal = vm.getTotal();\r\n\t\tassertThat(total, is(700));\r\n\r\n\t\tj = vm.buy(&quot;\u30b3\u30fc\u30e9&quot;);\r\n\t\tassertThat(j.getName(), is(&quot;\u30b3\u30fc\u30e9&quot;));\r\n\t\ttotal = vm.getTotal();\r\n\t\tassertThat(total, is(580));\r\n\r\n\t\tint sales = vm.getSales();\r\n\t\tassertThat(sales, is(420));\r\n\t}\r\n<\/pre>\n<p>\u3053\u306e\u30c6\u30b9\u30c8\u3067\u3001\u30ec\u30c3\u30c9\u30d6\u30eb\u306e\u5728\u5eab\u6570\u3092\u6b63\u3057\u304f\u8fd4\u305b\u3066\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308b\u3002<br \/>\ngetJuiceStocck() \u3092\u304d\u3061\u3093\u3068\u5b9f\u88c5\u3057\u306a\u304a\u3059\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic int getJuiceStock(String name) {\r\n\t\tjuices = map.get(name);\r\n\t\treturn juices.size();\r\n\t}\r\n<\/pre>\n<p>\u8cfc\u5165\u53ef\u80fd\u306a\u30c9\u30ea\u30f3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u77e5\u308a\u305f\u3044\uff01<br \/>\n\u30c6\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u8cfc\u5165\u53ef\u80fd\u306a\u30c9\u30ea\u30f3\u30af\u306e\u30ea\u30b9\u30c8() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tJuice[] list = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(0));\r\n\t}\r\n<\/pre>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3092\u89e3\u6d88\u3059\u308b\u3002<br \/>\nVendingMachine \u306b\u4ee5\u4e0b\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic Juice[] getBuyableJuices() {\r\n\t\treturn null;\r\n\t}\r\n<\/pre>\n<p>\u30c6\u30b9\u30c8\u306b\u306f\u5931\u6557\u3059\u308b\u306e\u3067\u3001\u30c6\u30b9\u30c8\u306b\u30d1\u30b9\u3059\u308b\u3088\u3046\u306b\u5b9f\u88c5\u3059\u308b\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a fake \u3067\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic Juice[] getBuyableJuices() {\r\n\t\treturn new Juice[0];\r\n\t}\r\n<\/pre>\n<p>\u30c6\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u3002<br \/>\n100\u5186\u3092\u6295\u5165\u3059\u308b\u3068\u6c34\u3092\u8cfc\u5165\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"brush: java; highlight: [6,7,8,9]; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u8cfc\u5165\u53ef\u80fd\u306a\u30c9\u30ea\u30f3\u30af\u306e\u30ea\u30b9\u30c8() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tJuice[] list = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(0));\r\n\t\tvm.put(100);\r\n\t\tlist = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(1));\r\n\t\tassertThat(list[0].getName(), is(&quot;\u6c34&quot;));\r\n\t}\r\n<\/pre>\n<p>100\u5186\u3092\u8ffd\u52a0\u6295\u5165\u3059\u308b\u30683\u7a2e\u985e\u306e\u30c9\u30ea\u30f3\u30af\u3092\u8cfc\u5165\u3067\u304d\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u8cfc\u5165\u53ef\u80fd\u306a\u30c9\u30ea\u30f3\u30af\u306e\u30ea\u30b9\u30c8() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tJuice[] list = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(0));\r\n\t\tvm.put(100);\r\n\t\tlist = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(1));\r\n\t\tassertThat(list[0].getName(), is(&quot;\u6c34&quot;));\r\n\t\tvm.put(100);\r\n\t\tlist = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(3));\r\n\t}\r\n<\/pre>\n<p>\u624b\u629c\u304d\u306e\u5b9f\u88c5\u3067\u30c6\u30b9\u30c8\u3092\u30d1\u30b9\u3055\u305b\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic Juice[] getBuyableJuices() {\r\n\t\tif (total &gt;= 200) {\r\n\t\t\tJuice[] list = {\r\n\t\t\t\t\tnew Juice(&quot;\u6c34&quot;, 100),\r\n\t\t\t\t\tnew Juice(&quot;\u30b3\u30fc\u30e9&quot;, 120),\r\n\t\t\t\t\tnew Juice(&quot;\u30ec\u30c3\u30c9\u30d6\u30eb&quot;, 200)\r\n\t\t\t\t};\r\n\t\t\treturn list;\r\n\t\t}\r\n\t\tif (total &gt;= 120) {\r\n\t\t\tJuice[] list = {\r\n\t\t\t\t\tnew Juice(&quot;\u6c34&quot;, 100),\r\n\t\t\t\t\tnew Juice(&quot;\u30b3\u30fc\u30e9&quot;, 120),\r\n\t\t\t\t};\r\n\t\t\treturn list;\r\n\r\n\t\t}\r\n\t\tif (total &gt;= 100) {\r\n\t\t\tJuice[] list = {\r\n\t\t\t\t\tnew Juice(&quot;\u6c34&quot;, 100),\r\n\t\t\t\t};\r\n\t\t\treturn list;\r\n\r\n\t\t}\r\n\t\treturn new Juice[0];\r\n\t}\r\n<\/pre>\n<p>\u5728\u5eab\u304c\u306a\u304f\u306a\u3063\u305f\u3089\u30ea\u30b9\u30c8\u306b\u51fa\u306a\u3044\u30c6\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n\u5408\u8a08700\u5186\u3092\u6295\u5165\u3057\u3066\u6c34\u30925\u500b\u8cb7\u3046\u3068\u3001200\u5186\u6b8b\u308b\u3002<br \/>\n\u6c34\u306e\u5728\u5eab\u304c\u306a\u304f\u306a\u3063\u305f\u306e\u3067\u3001\u30ea\u30b9\u30c8\u306f\u30b3\u30fc\u30e9\u3068\u30ec\u30c3\u30c9\u30d6\u30eb\u306e2\u500b\u3060\u3051\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\t@Test\r\n\tvoid \u8cfc\u5165\u53ef\u80fd\u306a\u30c9\u30ea\u30f3\u30af\u306e\u30ea\u30b9\u30c8() {\r\n\t\tVendingMachine vm = new VendingMachine();\r\n\t\tJuice[] list = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(0));\r\n\t\tvm.put(100);\r\n\t\tlist = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(1));\r\n\t\tassertThat(list[0].getName(), is(&quot;\u6c34&quot;));\r\n\t\tvm.put(100);\r\n\t\tlist = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(3));\r\n\t\tvm.put(500);\r\n\t\tfor (int i = 0; i &lt; 5; i++) {\r\n\t\t\tJuice j = vm.buy(&quot;\u6c34&quot;);\r\n\t\t\tassertThat(j.getName(), is(&quot;\u6c34&quot;));\r\n\t\t}\r\n\t\tlist = vm.getBuyableJuices();\r\n\t\tassertThat(list.length, is(2));\r\n\t}\r\n<\/pre>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\tpublic Juice[] getBuyableJuices() {\r\n\t\tCollection&lt;List&lt;Juice&gt;&gt; c = map.values();\r\n\t\tList&lt;Juice&gt; list = new ArrayList&lt;&gt;();\r\n\t\tfor (List&lt;Juice&gt; l : c) {\r\n\t\t\tif (l.size() == 0) continue;\r\n\t\t\tJuice j = l.get(0);\r\n\t\t\tif (j.getPrice() &gt; total) continue;\r\n\t\t\tlist.add(j);\r\n\t\t}\r\n\t\treturn list.toArray(new Juice[0]);\r\n\t}\r\n<\/pre>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306f\u3001\u4ee5\u4e0b\u306e\u30c6\u30b9\u30c8\u3092\u66f8\u3044\u305f\u3068\u3053\u308d\u3067\u7d42\u4e86\u3057\u305f\u3002\u3002 \u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002 \u6c34\u3092\u8cfc\u5165\u3067\u304d\u308b\u304b\u554f\u3044\u5408\u308f\u305b\u305f\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3002 canBuy() \u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u5f15\u6570\u3067\u540d\u524d\u3092\u3082\u3089\u3063\u3066\u3044\u308b\u3051\u3069\u53c2\u7167\u3057\u3066\u3044\u306a &hellip; <a href=\"https:\/\/2019se3.satoshis.jp\/?p=82\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;5\u670824\u65e5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,2],"tags":[],"_links":{"self":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/82"}],"collection":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=82"}],"version-history":[{"count":13,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/82\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}