{"id":27194,"date":"2024-03-17T09:02:26","date_gmt":"2024-03-17T00:02:26","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/"},"modified":"2024-03-22T15:38:52","modified_gmt":"2024-03-22T06:38:52","slug":"java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/","title":{"rendered":"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f"},"content":{"rendered":"<p>Java\u3067\u306f\u3001\u6570\u5b57\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306bcompareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002compareTo\u30e1\u30bd\u30c3\u30c9\u306fComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6570\u5b57\u306e\u578b\u304cComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u6570\u5b57\u3092\u6bd4\u8f03\u3059\u308b\u4f8b\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title class_\">CompareNumbers<\/span> {\r\n    <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">static<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title function_\">main<\/span><span class=\"hljs-params\">(String[] args)<\/span> {\r\n        <span class=\"hljs-type\">Integer<\/span> <span class=\"hljs-variable\">num1<\/span> <span class=\"hljs-operator\">=<\/span> <span class=\"hljs-number\">10<\/span>;\r\n        <span class=\"hljs-type\">Integer<\/span> <span class=\"hljs-variable\">num2<\/span> <span class=\"hljs-operator\">=<\/span> <span class=\"hljs-number\">5<\/span>;\r\n\r\n        <span class=\"hljs-type\">int<\/span> <span class=\"hljs-variable\">result<\/span> <span class=\"hljs-operator\">=<\/span> num1.compareTo(num2);\r\n\r\n        <span class=\"hljs-keyword\">if<\/span> (result &gt; <span class=\"hljs-number\">0<\/span>) {\r\n            System.out.println(<span class=\"hljs-string\">\"num1\u5927\u4e8enum2\"<\/span>);\r\n        } <span class=\"hljs-keyword\">else<\/span> <span class=\"hljs-keyword\">if<\/span> (result &lt; <span class=\"hljs-number\">0<\/span>) {\r\n            System.out.println(<span class=\"hljs-string\">\"num1\u5c0f\u4e8enum2\"<\/span>);\r\n        } <span class=\"hljs-keyword\">else<\/span> {\r\n            System.out.println(<span class=\"hljs-string\">\"num1\u7b49\u4e8enum2\"<\/span>);\r\n        }\r\n    }\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u79c1\u305f\u3061\u306fInteger\u30af\u30e9\u30b9\u3092\u6570\u5b57\u578b\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306fComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304c\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002compareTo\u30e1\u30bd\u30c3\u30c9\u306f\u30012\u3064\u306e\u6570\u5b57\u3092\u6bd4\u8f03\u3057\u305f\u7d50\u679c\u3092\u8868\u3059\u6574\u6570\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u8fd4\u308a\u5024\u304c0\u3088\u308a\u5927\u304d\u3044\u5834\u5408\u3001\u6700\u521d\u306e\u6570\u5b57\u304c2\u756a\u76ee\u306e\u6570\u5b57\u3088\u308a\u3082\u5927\u304d\u3044\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u8fd4\u308a\u5024\u304c0\u3088\u308a\u5c0f\u3055\u3044\u5834\u5408\u306f\u3001\u6700\u521d\u306e\u6570\u5b57\u304c2\u756a\u76ee\u306e\u6570\u5b57\u3088\u308a\u3082\u5c0f\u3055\u3044\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u8fd4\u308a\u5024\u304c0\u306e\u5834\u5408\u306f\u30012\u3064\u306e\u6570\u5b57\u304c\u7b49\u3057\u3044\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001num1\u306e\u5024\u306f10\u3067\u3001num2\u306e\u5024\u306f5\u3067\u3059\u3002num1.compareTo(num2)\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u30012\u3064\u306e\u6570\u5b57\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3059\u308b\u3068\u3001\u7d50\u679c\u306f1\u306b\u306a\u308a\u3001num1\u304cnum2\u3088\u308a\u5927\u304d\u3044\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u300cnum1\u304cnum2\u3088\u308a\u5927\u304d\u3044\u300d\u3068\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>compareTo\u30e1\u30bd\u30c3\u30c9\u306f\u540c\u3058\u30bf\u30a4\u30d7\u306e\u6570\u5b57\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7570\u306a\u308b\u30bf\u30a4\u30d7\u306e\u6570\u5b57\u3092\u6bd4\u8f03\u3059\u308b\u5834\u5408\u306f\u3001\u305d\u308c\u3089\u3092\u540c\u3058\u30bf\u30a4\u30d7\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u6bd4\u8f03\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u3067\u306f\u3001\u6570\u5b57\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306bcompareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002compareTo\u30e1\u30bd\u30c3\u30c9\u306fComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6570\u5b57\u306e\u578b\u304cComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-27194","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareto\u30e1\u30bd\u30c3\u30c9\u3092\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f\" \/>\n<meta property=\"og:description\" content=\"Java\u3067\u306f\u3001\u6570\u5b57\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306bcompareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002compareTo\u30e1\u30bd\u30c3\u30c9\u306fComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6570\u5b57\u306e\u578b\u304cComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareto\u30e1\u30bd\u30c3\u30c9\u3092\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-17T00:02:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-22T06:38:52+00:00\" \/>\n<meta name=\"author\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/\",\"name\":\"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-17T00:02:26+00:00\",\"dateModified\":\"2024-03-22T06:38:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\",\"name\":\"\u512a\u6597, \u671d\u967d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"caption\":\"\u512a\u6597, \u671d\u967d\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareto\u30e1\u30bd\u30c3\u30c9\u3092\/","og_locale":"ja_JP","og_type":"article","og_title":"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f","og_description":"Java\u3067\u306f\u3001\u6570\u5b57\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306bcompareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002compareTo\u30e1\u30bd\u30c3\u30c9\u306fComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6570\u5b57\u306e\u578b\u304cComparable\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareto\u30e1\u30bd\u30c3\u30c9\u3092\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-17T00:02:26+00:00","article_modified_time":"2024-03-22T06:38:52+00:00","author":"\u512a\u6597, \u671d\u967d","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u512a\u6597, \u671d\u967d"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/","name":"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-17T00:02:26+00:00","dateModified":"2024-03-22T06:38:52+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Java\u3067\u6570\u5b57\u306e\u30b5\u30a4\u30ba\u3092\u6bd4\u8f03\u3059\u308b\u306b\u306f\u3001compareTo\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u304b\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28","name":"\u512a\u6597, \u671d\u967d","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","caption":"\u512a\u6597, \u671d\u967d"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/java%e3%81%a7%e6%95%b0%e5%ad%97%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e6%af%94%e8%bc%83%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%80%81compareto%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/27194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=27194"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/27194\/revisions"}],"predecessor-version":[{"id":109456,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/27194\/revisions\/109456"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=27194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=27194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=27194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}