{"id":20977,"date":"2017-04-08T12:41:39","date_gmt":"2017-04-08T03:41:39","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=20977"},"modified":"2024-05-06T11:41:21","modified_gmt":"2024-05-06T02:41:21","slug":"%e3%80%90java%e5%85%a5%e9%96%80%e3%80%91static-final%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/20977","title":{"rendered":"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081"},"content":{"rendered":"<p>Java\u306b\u306f\u5909\u6570\u306e\u5024\u3092\u81ea\u7531\u306b\u5909\u66f4\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u300cstatic final\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001static final\u306e\u3001<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>final\u4fee\u98fe\u5b50\u306e\u610f\u5473<\/b><\/li>\n<li><b>final\u4fee\u98fe\u5b50\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>\u30e1\u30bd\u30c3\u30c9\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u5b9a\u6570\u306e\u521d\u671f\u5316<\/b><\/li>\n<li><b>\u914d\u5217\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>List\u3084Map\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001\u306a\u3069\u306e\u5fdc\u7528\u7684\u306a\u4f7f\u3044\u65b9\u306b\u95a2\u3057\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306astatic final\u306e\u51e6\u7406\u306b\u3064\u3044\u3066\u3001\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\uff01<\/p>\n<p>\u306a\u304a\u3001Java\u306e\u8a18\u4e8b\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.sejuku.net\/blog\/148098\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>final\u4fee\u98fe\u5b50\u3068\u306f<\/h2>\n<p>\u5909\u6570\u306f\u57fa\u672c\u7684\u306b\u5024\u3092\u81ea\u7531\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u304c\u3001\u4e00\u5ea6\u5024\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u5909\u66f4\u3055\u308c\u306a\u3044\u5909\u6570\u306e\u3053\u3068\u3092\u300c\u5b9a\u6570\u300d\u3068\u547c\u3073\u307e\u3059\u3002final\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3057\u305f\u5909\u6570\u306f\u3001\u57fa\u672c\u7684\u306b\u898f\u5b9a\u5024\u306a\u3069\u4e00\u5ea6\u5024\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u5024\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306ffinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3057\u3066\u3001\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001\u5909\u6570\u306e\u5ba3\u8a00\u306e\u982d\u306bstatic final\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">public static final double DNUM = 3.1415926535<\/pre>\n<p>final\u4fee\u98fe\u5b50\u306f\u5909\u6570\u4ee5\u5916\u306b\u3082\u30e1\u30bd\u30c3\u30c9\u3084\u30af\u30e9\u30b9\u306b\u3082\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5909\u6570\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u30af\u30e9\u30b9\u306bfinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>\u30af\u30e9\u30b9\u306bfinal\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/b><\/li>\n<li><b>\u30e1\u30bd\u30c3\u30c9\u306bfinal\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/b><\/li>\n<li><b>\u5909\u6570\u306bfinal\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u5909\u6570\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u307e\u305f\u3001final\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3057\u305f\u5b9a\u6570\u306f\u3001\u901a\u5e38\u306e\u5909\u6570\u3068\u533a\u5225\u3059\u308b\u305f\u3081\u306b\u5909\u6570\u540d\u306e\u82f1\u6570\u5b57\u3092\u5927\u6587\u5b57\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<h2>final\u4fee\u98fe\u5b50\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<p>\u4ee5\u4e0b\u306bfinal\u4fee\u98fe\u5b50\u3092\u4f7f\u7528\u3057\u305f\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">public class Main {\r\n    \r\n    \/\/static final\u3092\u4f7f\u7528\u3057\u3066\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u5ba3\u8a00\u3059\u308b\r\n    public static final double DNUM = 3.1415926535;\r\n\r\n    public static void main(String[] args) throws Exception {\r\n\r\n        System.out.println(\"DNUM : \" + DNUM);\r\n\r\n    }\r\n}<\/pre>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">\u5b9f\u884c\u7d50\u679c\r\nDNUM : 3.1415926535<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u30af\u30e9\u30b9\u306e\u76f4\u4e0b\u306bstatic final\u3067double\u578b\u306e\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002main\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u30af\u30e9\u30b9\u5b9a\u6570\u306e\u5024\u304c\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5b9a\u6570\u306f\u5148\u8ff0\u3057\u305f\u3068\u304a\u308a\u4e00\u5ea6\u5024\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u518d\u5ea6\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u306e\u3067\u30e1\u30bd\u30c3\u30c9\u5185\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u3082\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">DNUM  = 100.0;<\/pre>\n<h3>\u30af\u30e9\u30b9\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u4ee5\u4e0b\u306bfinal\u4fee\u98fe\u5b50\u3092\u30af\u30e9\u30b9\u306b\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p>\u524d\u8ff0\u3057\u305f\u3068\u304a\u308a\u3001\u30af\u30e9\u30b9\u306bfinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u30af\u30e9\u30b9\u306f\u7d99\u627f\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">final public class ParentClass {\r\n\r\n    public static void main(String[] args) {\r\n\t\t\r\n        System.out.println(\"ParentClass\");\r\n\t\t\r\n        \/\/\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\r\n        SubClass sb = new SubClass();\r\n        sb.subMethod();\r\n    }\r\n}\r\n<\/pre>\n<pre class=\"lang:java decode:true \">public class SubClass extends ParentClass{\r\n\t\r\n    public void subMethod(){\r\n\t\t\r\n        System.out.println(\"SubClass\");\r\n\t\t\r\n    }\r\n}\r\n<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u89aa\u30af\u30e9\u30b9\u306b\u3042\u305f\u308bParentClass\u3092final\u4fee\u98fe\u5b50\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u306e\u5b50\u30af\u30e9\u30b9\u3067\u3042\u308bSubClass\u3067\u3001extends\u306b\u3088\u308b\u89aa\u30af\u30e9\u30b9\u306e\u7d99\u627f\u3092\u6307\u5b9a\u3057\u3066\u3082\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">\u578b SubClass \u306f final \u30af\u30e9\u30b9 ParentClass \u3092\u30b5\u30d6\u30af\u30e9\u30b9\u5316\u3067\u304d\u307e\u305b\u3093\r\n<\/pre>\n<h3>\u30e1\u30bd\u30c3\u30c9\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u4ee5\u4e0b\u306bfinal\u4fee\u98fe\u5b50\u3092\u30e1\u30bd\u30c3\u30c9\u306b\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002\u524d\u8ff0\u3057\u305f\u3068\u304a\u308a\u30e1\u30bd\u30c3\u30c9\u306bfinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u30aa\u30fc\u30d0\u30e9\u30a4\u30c9\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">public class ParentClass {\r\n\r\n    final public void ParentMethod(){\r\n\r\n        System.out.println(\"ParentMeshotd\");\r\n    }\r\n}\r\n<\/pre>\n<pre class=\"lang:java decode:true \">public class SubClass extends ParentClass{\r\n\t\t\r\n    public void ParentMethod(){\r\n\r\n        System.out.println(\"parentMethod\");\r\n    }\r\n}\r\n<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u89aa\u30af\u30e9\u30b9\u306b\u3042\u305f\u308bParentClass\u306e\u30e1\u30bd\u30c3\u30c9\u3092final\u4fee\u98fe\u5b50\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u306e\u5b50\u30af\u30e9\u30b9\u3067\u3042\u308bSubClass\u3067\u3001\u89aa\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u6307\u5b9a\u3057\u3066\u3082\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">ParentClass \u304b\u3089\u306e final \u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3067\u304d\u307e\u305b\u3093\r\n<\/pre>\n<h2>\u30af\u30e9\u30b9\u5b9a\u6570\u306e\u521d\u671f\u5316<\/h2>\n<p>\u5b9a\u6570\u306f\u57fa\u672c\u7684\u306b\u5ba3\u8a00\u6642\u306b\u5024\u3092\u8a2d\u5b9a\u3057\u3001\u4e00\u5ea6\u5024\u3092\u4ee3\u5165\u3057\u305f\u3089\u518d\u8a2d\u5b9a\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u5ba3\u8a00\u6642\u306b\u5024\u3092\u8a2d\u5b9a\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u3001\u30e1\u30bd\u30c3\u30c9\u5185\u3067\u521d\u3081\u3066\u5024\u3092\u8a2d\u5b9a\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b9a\u6570\u306e\u6570\u304c\u591a\u304f\u3001\u5ba3\u8a00\u3068\u521d\u671f\u5316\u51e6\u7406\u3092\u5206\u3051\u305f\u3044\u5834\u5408\u306f\u3001static\u30a4\u30cb\u30b7\u30e3\u30e9\u30a4\u30b6\u5185\u306a\u3089\u5b9a\u6570\u3092\u521d\u671f\u5316\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u4ee5\u4e0b\u306b\u5b9a\u6570\u306e\u5ba3\u8a00\u3068\u3001\u5b9a\u6570\u306e\u521d\u671f\u5316\u51e6\u7406\u3092\u5206\u3051\u3066\u8a18\u8f09\u3059\u308b\u305f\u3081\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">public class Main {\r\n    \r\n    public static final int NUM1;\r\n    public static final int NUM2;\r\n\r\n    \/\/static\u5185\u3067\u5b9a\u6570\u306e\u521d\u671f\u5316\r\n    static {\r\n        NUM1 = 10;\r\n        NUM2 = 20;\r\n    }\r\n\r\n    public static void main(String[] args) throws Exception {\r\n\r\n        System.out.println(\"NUM1 : \" + NUM1);\r\n        System.out.println(\"NUM2: \" + NUM2);\r\n\r\n    }\r\n}<\/pre>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">\u5b9f\u884c\u7d50\u679c\r\nNUM1 : 10\r\nNUM2 : 20<\/pre>\n<h2>\u914d\u5217\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>final\u4fee\u98fe\u5b50\u306f\u3001\u914d\u5217\u306b\u3082\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u914d\u5217\u3092final\u3067\u5ba3\u8a00\u3057\u3066\u3082\u5909\u66f4\u3067\u304d\u306a\u3044\u306e\u306f\u914d\u5217\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3042\u308a\u3001\u914d\u5217\u306e\u8981\u7d20\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">public class ParentClass {\r\n\t\r\n    \/\/\u914d\u5217\u306efinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3059\u308b\r\n    public static final int[] FOO = {0, 1, 2, 3};\r\n\r\n    public static void main(String[] args) {\r\n\r\n        \/\/final\u3092\u6307\u5b9a\u3057\u3066\u3082\u914d\u5217\u306e\u8981\u7d20\u306f\u5909\u66f4\u3067\u304d\u308b\u3002\r\n        FOO[0] = 10;\r\n\r\n        System.out.println(FOO[0]);\r\n\r\n    }\r\n}\r\n<\/pre>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">\u5b9f\u884c\u7d50\u679c\r\n10\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u304b\u3089\u308f\u304b\u308b\u3088\u3046\u306b\u3001final\u4fee\u98fe\u5b50\u3067\u914d\u5217\u3092\u5ba3\u8a00\u3057\u3066\u3082\u8981\u7d20\u81ea\u4f53\u306f\u5909\u66f4\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u4fdd\u6301\u3057\u3066\u3044\u308b\u8981\u7d20\u3092\u5909\u3048\u3089\u308c\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u3001List\u3084Map\u306a\u3069\u306e\u52d5\u7684\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>List\u3084Map\u3092final\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3057\u305f\u5b9a\u6570\u3068\u3057\u3066\u6271\u3046\u65b9\u6cd5\u306f\u3001\u6b21\u9805\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>List\u3084Map\u306bfinal\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u5b9a\u6570\u306f\u57fa\u672c\u7684\u306b\u4e00\u5ea6\u5024\u3092\u8a2d\u5b9a\u3057\u305f\u3089\u5909\u66f4\u3067\u304d\u307e\u305b\u3093\u304c\u3001List\u3084Map\u306a\u3069\u306e\u52d5\u7684\u914d\u5217\u3092static final\u3067\u6307\u5b9a\u3057\u3066\u3082\u3001\u5024\u306e\u5909\u66f4\u304c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u3001List\u3084Map\u306a\u3069\u3092final\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3057\u305f\u5b9a\u6570\u3068\u3057\u3066\u6271\u3044\u305f\u3044\u306e\u306a\u3089\u3001Collections\u30af\u30e9\u30b9\u306eunmodifiableList\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>unmodifiableList\u30e1\u30bd\u30c3\u30c9\u306f\u3001List\u3084Map\u3092\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3068\u3059\u308b\u6a5f\u80fd\u3067\u3001\u8a2d\u5b9a\u3057\u305fList\u3084Map\u306b\u5024\u306e\u5909\u66f4\u3084\u8ffd\u52a0\u306a\u3069\u3092\u5b9f\u65bd\u3059\u308b\u3068\u3001UnsupportedOperationException\u306e\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001unmodifiableList\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u5b9a\u6570\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306bunmodifiableList\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u305f\u3001\u5b9a\u6570\u5316\u306e\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">public class Main {\r\n\r\n    \/\/unmodifiableList\u3092\u4f7f\u7528\u3057\u3066\u5b9a\u6570\u3092\u5ba3\u8a00\u3059\u308b\r\n    public static final List&lt;String&gt; LIST_MOD = \r\n        Collections.unmodifiableList(new ArrayList&lt;String&gt;() \r\n        {{ add(\"apple\"); add(\"orange\"); add(\"melon\"); }} );\r\n\r\n    public static void main(String[] args) throws Exception {\r\n\r\n        System.out.println(LIST_MOD.get(0));\r\n        System.out.println(LIST_MOD.get(1));\r\n        System.out.println(LIST_MOD.get(2));\r\n\r\n    }\r\n}<\/pre>\n<pre class=\"striped:false marking:false ranges:false nums:false lang:default decode:true \">\u5b9f\u884c\u7d50\u679c\r\napple\r\norange\r\nmelon<\/pre>\n<h2>final\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u305f\u3088\u3046\u306bfinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u305d\u306e\u5909\u6570\u3084\u30af\u30e9\u30b9\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u5185\u5bb9\u3092\u81ea\u7531\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u4e0d\u7528\u610f\u306b\u5024\u3084\u30af\u30e9\u30b9\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u5185\u5bb9\u3092\u5909\u3048\u3089\u308c\u305f\u304f\u306a\u3044\u5834\u5408\u306ffinal\u4fee\u98fe\u5b50\u3092\u6307\u5b9a\u3059\u308b\u306e\u304c\u671b\u307e\u3057\u3044\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<p>final\u306e\u3055\u307e\u3056\u307e\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u300cfinal\u4fee\u98fe\u5b50\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u77e5\u308a\u305f\u3044\uff01\u300d\u3068\u3044\u3046\u65b9\u306f\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/24926\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/java_final-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011final\u4fee\u98fe\u5b50\u306e\u4f7f\u3044\u65b9\u7dcf\u307e\u3068\u3081(\u5909\u6570\u3001\u30af\u30e9\u30b9\u3001\u30e1\u30bd\u30c3\u30c9)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n<h2>static\u4fee\u98fe\u5b50\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305fstatic\u4fee\u98fe\u5b50\u306f\u3002\u4e3b\u306b\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u305b\u305a\u306b\u3001\u76f4\u63a5\u30e1\u30bd\u30c3\u30c9\u3084\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u4fbf\u5229\u306a\u4fee\u98fe\u5b50\u3067\u3059\u3002\u305d\u3093\u306astatic\u4fee\u98fe\u5b50\u3092\u6d3b\u7528\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u7d30\u306b\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u6c17\u306b\u306a\u3063\u305f\u65b9\u306f\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/24797\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-1-3-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011static\u4fee\u98fe\u5b50\u306e\u4f7f\u3044\u65b9\u7dcf\u307e\u3068\u3081<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u670821\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001static final\u306e\u610f\u5473\u3084\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3001\u521d\u671f\u5316\u306e\u65b9\u6cd5\u3084List\u3001Map\u306e\u5b9a\u6570\u5316\u306a\u3069\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>final\u4fee\u98fe\u5b50\u306f\u3001\u5909\u66f4\u3059\u308b\u4e88\u5b9a\u306e\u306a\u3044\u898f\u5b9a\u5024\u306a\u3069\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306b\u3001\u5909\u6570\u3068\u533a\u5225\u3059\u308b\u305f\u3081\u306b\u5b9a\u6570\u3068\u3057\u3066\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3082\u3057static final\u306e\u8a18\u8ff0\u65b9\u6cd5\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u306b\u306f\u5909\u6570\u306e\u5024\u3092\u81ea\u7531\u306b\u5909\u66f4\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u300cstatic final\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001static final\u306e\u3001 final\u4fee\u98fe\u5b50\u306e\u610f\u5473 final\u4fee\u98fe\u5b50\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9 \u30af\u30e9\u30b9\u306bfina [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":33700,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2344],"tags":[67],"class_list":["post-20977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-study","tag-java"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\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.sejuku.net\/blog\/20977\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/20977\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-08T03:41:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:41:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081\",\"datePublished\":\"2017-04-08T03:41:39+00:00\",\"dateModified\":\"2024-05-06T02:41:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977\"},\"wordCount\":128,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/image4.jpg\",\"keywords\":[\"Java\"],\"articleSection\":[\"Java\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977\",\"name\":\"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/image4.jpg\",\"datePublished\":\"2017-04-08T03:41:39+00:00\",\"dateModified\":\"2024-05-06T02:41:21+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/image4.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/image4.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/20977#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","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.sejuku.net\/blog\/20977","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/20977","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-04-08T03:41:39+00:00","article_modified_time":"2024-05-06T02:41:21+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image4.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/20977#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/20977"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081","datePublished":"2017-04-08T03:41:39+00:00","dateModified":"2024-05-06T02:41:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/20977"},"wordCount":128,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/20977#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image4.jpg","keywords":["Java"],"articleSection":["Java\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/20977","url":"https:\/\/www.sejuku.net\/blog\/20977","name":"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/20977#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/20977#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image4.jpg","datePublished":"2017-04-08T03:41:39+00:00","dateModified":"2024-05-06T02:41:21+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/20977#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/20977"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/20977#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image4.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image4.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/20977#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010Java\u5165\u9580\u3011static final\u4fee\u98fe\u5b50\u3067\u30af\u30e9\u30b9\u5b9a\u6570\u3092\u4f7f\u3046\u65b9\u6cd5\u307e\u3068\u3081"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/20977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=20977"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/20977\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/33700"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=20977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=20977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=20977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}