{"id":60038,"date":"2018-06-21T23:27:21","date_gmt":"2018-06-21T14:27:21","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=60038"},"modified":"2024-08-28T15:34:04","modified_gmt":"2024-08-28T06:34:04","slug":"java%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%83%91%e3%82%bf%e3%83%bc%e3%83%b3%e5%85%a823%e7%a8%ae%e3%81%ae%e7%89%b9%e9%95%b7%e3%82%92%e3%82%b9%e3%83%83%e3%82%ad%e3%83%aa%e8%a7%a3%e8%aa%ac","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/60038","title":{"rendered":"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac"},"content":{"rendered":"<p>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306fJava\u306a\u3069\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u3067\u4f7f\u308f\u308c\u308b\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u306e\u3053\u3068\u3067\u3059\u3002\u7279\u306b\u6709\u540d\u306aGoF\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u3001\u6570\u3005\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u5de5\u592b\u3092\u91cd\u306d\u3066\u304d\u305f\u8a2d\u8a08\u304c23\u7a2e\u985e\u306b\u30d1\u30bf\u30fc\u30f3\u5206\u3051\u3055\u308c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><div class=\"box_voice\">\u3069\u306e\u3088\u3046\u306b\u30b7\u30b9\u30c6\u30e0\u3092\u8a2d\u8a08\u3057\u305f\u3089\u3044\u3044\u304b\u308f\u304b\u3089\u306a\u3044<br \/>\n\u30ec\u30d3\u30e5\u30fc\u306e\u969b\u306b\u8aad\u307f\u3065\u3089\u3044\u3068\u3044\u3064\u3082\u6307\u6458\u3055\u308c\u308b<br \/>\n\u4fdd\u5b88\u3001\u6539\u4fee\u3001\u6a5f\u80fd\u62e1\u5f35\u306b\u624b\u9593\u3068\u6642\u9593\u3070\u304b\u308a\u304b\u304b\u308b<\/div><\/p>\n<p>\u306a\u3069\u3067\u304a\u56f0\u308a\u3067\u3057\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u305c\u3072\u3054\u89a7\u306b\u306a\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3068\u306f<\/b><\/li>\n<li><b>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u4e00\u89a7<\/b><\/li>\n<li><b>\u5165\u9580\u8005\u5411\u3051\u30aa\u30b9\u30b9\u30e1\u306e\u66f8\u7c4d<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306e\u57fa\u672c\u304b\u3089\u304a\u3059\u3059\u3081\u306a\u60c5\u5831\u306b\u3064\u3044\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/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>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3068\u306f<\/h2>\n<p>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306fJava\u3001C++\u3001C#\u306a\u3069\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u8a2d\u8a08\u3092\u30d1\u30bf\u30fc\u30f3\u5316\u3057\u305f\u3082\u306e\u3067\u3059\u30021995\u5e74\u306b\u767a\u520a\u3055\u308c\u305f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306b\u304a\u3051\u308b\u518d\u5229\u7528\u306e\u305f\u3081\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u300d\u3068\u3044\u3046\u672c\u3067\u5e83\u304f\u77e5\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u672c\u306f4\u4eba\u306e\u8457\u8005\u304c\u3088\u304f\u4f7f\u308f\u308c\u308b\u8a2d\u8a08\u309223\u30d1\u30bf\u30fc\u30f3\u306b\u5206\u3051\u3066\u8aac\u660e\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u300cGoF\u306e23\u30d1\u30bf\u30fc\u30f3\u300d\u3068\u547c\u3070\u308c\u7279\u306b\u6709\u540d\u3067\u3059\u300223\u7a2e\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u306f\u3001\u4e3b\u306b\u4ee5\u4e0b\u306e3\u3064\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li>\u8a2d\u8a08\u304c\u52b9\u7387\u5316\u3067\u304d\u308b<\/li>\n<li><b>\u6570\u3005\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u8a66\u884c\u932f\u8aa4\u3057\u3066\u304d\u305f\u7d50\u679c\u3092\u5c11\u306a\u3044\u6642\u9593\u3067\u5229\u7528\u3001\u4f53\u5f97\u3067\u304d\u308b<\/b><\/li>\n<li>\u518d\u5229\u7528\u3057\u3084\u3059\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u308b<\/li>\n<li><b>\u30b3\u30fc\u30c9\u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u3001\u4fee\u6b63\u3057\u305f\u308a\u62e1\u5f35\u3057\u305f\u308a\u3059\u308b\u969b\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u304c\u9ad8\u307e\u308b<\/b><\/li>\n<li>\u30a8\u30f3\u30b8\u30cb\u30a2\u540c\u58eb\u306e\u5171\u901a\u8a00\u8a9e\u3068\u3057\u3066\u4f7f\u3048\u308b<\/li>\n<\/ul>\n<p><\/div><br \/>\n\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u53d6\u308a\u5165\u308c\u305f\u30b3\u30fc\u30c9\u306f\u4ed6\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u3082\u8aad\u307f\u3084\u3059\u304f\u3001\u610f\u601d\u306e\u758e\u901a\u304c\u56f3\u308a\u3084\u3059\u3044\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300cGoF\u306e23\u30d1\u30bf\u30fc\u30f3\u300d\u3092\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u300d\u300c\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u9020\u300d\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u632f\u308b\u821e\u3044\u300d\u306e3\u3064\u306b\u5206\u3051\u3066\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u9577\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u307e\u305f23\u7a2e\u985e\u3059\u3079\u3066\u3092\u89e3\u8aac\u3059\u308b\u306b\u306f\u7d19\u9762\u304c\u8db3\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u4ee3\u8868\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306fJava\u3067\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002Java\u306b\u304a\u3051\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/9788\" 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\/2022\/07\/howto-02-39-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u301010\u5206\u3067\u308f\u304b\u308b\u3011Java\u306b\u304a\u3051\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3092\u5fb9\u5e95\u89e3\u8aac<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u4e00\u89a7<\/h2>\n<p>23\u7a2e\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u3092\u300c<b>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210<\/b>\u300d\u300c<b>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u6210<\/b>\u300d\u300c<b>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u632f\u308b\u821e\u3044<\/b>\u300d\u306b\u5206\u3051\u3066\u3001\u305d\u308c\u305e\u308c\u306e\u7279\u9577\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u306b\u95a2\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p>\u307e\u305a\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u306b\u95a2\u3059\u308b5\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n<table id=\"tablepress-542\" class=\"tablepress tablepress-id-542\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30d1\u30bf\u30fc\u30f3\u540d<\/th><th class=\"column-2\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Abstract Factory<\/td><td class=\"column-2\">\u95a2\u9023\u3059\u308b\u90e8\u54c1(\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7fa4)\u3092\u307e\u3068\u3081\u3066\u4e00\u3064\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u306e\u624b\u9806\u3092\u62bd\u8c61\u5316<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Builder<\/td><td class=\"column-2\">\u5143\u3068\u306a\u308b\u5c02\u7528\u306e\u30af\u30e9\u30b9\u3092\u7528\u610f\u3057\u3001\u8907\u6570\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Factory Method<\/td><td class=\"column-2\">\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u306e\u305f\u3081\u306e\u67a0\u7d44\u307f\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u306e\u30af\u30e9\u30b9\u3092\u5206\u96e2<br \/>\n\u30af\u30e9\u30b9\u3092\u5897\u3084\u3057\u3001\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u969b\u306b\u4f7f\u7528<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Prototype<\/td><td class=\"column-2\">\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210(\u30af\u30ed\u30fc\u30f3\u306e\u4f5c\u6210)<br \/>\n\u540c\u3058\u30af\u30e9\u30b9\u3067\u8907\u6570\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3059\u308b\u969b\u306b\u4f5c\u696d\u3092\u52b9\u7387\u5316<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Singleton<\/td><td class=\"column-2\">1\u3064\u306e\u30af\u30e9\u30b9\u304b\u30891\u3064\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3060\u3051\u3092\u751f\u6210\u3059\u308b\u3088\u3046\u306b\u5236\u9650<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-542 from cache -->\n<p>\u305d\u308c\u3067\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u306b\u95a2\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306e\u4e2d\u3067\u4ee3\u8868\u7684\u306aFactory Method\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u307f\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:java decode:true \">\/\/ \u62bd\u8c61\u7684\u306a\u67a0\u7d44\u307f(\u88fd\u54c1)\r\nabstract class Product {\r\n    public abstract void method();\r\n}\r\n\r\n\/\/ \u62bd\u8c61\u7684\u306a\u67a0\u7d44\u307f(\u88fd\u54c1\u306e\u4f5c\u6210)\r\nabstract class Creator {\r\n    protected abstract Product factoryMethod(String str);\r\n    public final Product create(String str) {\r\n        Product p = factoryMethod(str);\r\n        return p;\r\n    }\r\n}\r\n\r\n\/\/ \u5177\u4f53\u7684\u306a\u6a5f\u80fd\u62e1\u5f35(\u88fd\u54c1)\r\nclass ConcreteProduct extends Product {\r\n    private String str;\r\n    \r\n    public ConcreteProduct(String str) {\r\n        this.str = str;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public void method() {\r\n        System.out.println(\"Hello \" + str + \"!\");\r\n    }\r\n}\r\n\r\n\/\/ \u5177\u4f53\u7684\u306a\u6a5f\u80fd\u62e1\u5f35(\u88fd\u54c1\u306e\u4f5c\u6210)\r\nclass ConcreteCreator extends Creator {\r\n    \/\/@Override\r\n    protected Product factoryMethod(String str) {\r\n        return new ConcreteProduct(str);\r\n    }\r\n}\r\n\r\npublic class User {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ \u88fd\u54c1\u306e\u4f5c\u6210\u8005\u3092\u751f\u6210\r\n        Creator creator = new ConcreteCreator();\r\n        \r\n        \/\/ \u88fd\u54c1\u306e\u4f5c\u6210\r\n        Product java = creator.create(\"Java\");\r\n        Product cpp = creator.create(\"C++\");\r\n        Product cs = creator.create(\"C#\");\r\n        \r\n        \/\/ \u51e6\u7406\u306e\u547c\u3073\u51fa\u3057\r\n        java.method();\r\n        cpp.method();\r\n        cs.method();\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Hello Java!\r\nHello C++!\r\nHello C#!<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u88fd\u54c1\u3068\u305d\u306e\u88fd\u54c1\u3092\u4f5c\u6210\u3059\u308b\u62bd\u8c61\u7684\u306a\u67a0\u7d44\u307f\u3092Product\u30af\u30e9\u30b9\u3001Creator\u30af\u30e9\u30b9\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u5177\u4f53\u7684\u306a\u6a5f\u80fd\u306e\u5b9a\u7fa9\u3092ConcreteProduct\u30af\u30e9\u30b9\u3001ConcreteCreator\u30af\u30e9\u30b9\u3067\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>User\u30af\u30e9\u30b9\u306emain\u30e1\u30bd\u30c3\u30c9\u3067\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u62bd\u8c61\u7684\u306a\u67a0\u7d44\u307f\u3092\u8868\u73fe\u3057\u305fCreator\u30af\u30e9\u30b9\u3068Product\u30af\u30e9\u30b9\u306e\u307f\u3067\u3059\u3002main\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u5177\u4f53\u7684\u306a\u6a5f\u80fd\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308bConcreteProduct\u30af\u30e9\u30b9\u3001ConcreteCreator\u30af\u30e9\u30b9\u306f\u4f7f\u7528\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306bFactory Method\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u30af\u30e9\u30b9\u306e\u5ba3\u8a00\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u751f\u6210\u304c\u5206\u96e2\u3055\u308c\u3001\u3055\u3089\u306b\u67a0\u7d44\u307f\u3068\u6a5f\u80fd\u306e\u5b9f\u88c5\u304c\u5206\u96e2\u3055\u308c\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3057\u3084\u3059\u3044\u69cb\u6210\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u7279\u9577\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u9020\u306b\u95a2\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p>\u7d9a\u3044\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u6210\u306b\u95a2\u3059\u308b7\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n<table id=\"tablepress-543\" class=\"tablepress tablepress-id-543\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30d1\u30bf\u30fc\u30f3\u540d<\/th><th class=\"column-2\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Adaptor<\/td><td class=\"column-2\">\u672c\u6765\u95a2\u9023\u306e\u306a\u3044\u30af\u30e9\u30b9\u540c\u58eb\u3092\u95a2\u9023\u4ed8\u3051\u308b<br \/>\n\u300c\u3059\u3067\u306b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u300d\u3068\u300c\u5fc5\u8981\u306a\u3082\u306e\u300d\u3068\u306e\u9593\u306e\u30ba\u30ec\u3092\u57cb\u3081\u308b<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Bridge<\/td><td class=\"column-2\">\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u30af\u30e9\u30b9\u3068\u5b9f\u88c5\u3059\u308b\u30af\u30e9\u30b9\u3092\u5206\u96e2\u3057\u3001\u305d\u306e\u9593\u306e\u6a4b\u6e21\u3057\u3092\u884c\u3046<br \/>\n\u7d99\u627f\u5143\u306e\u30b9\u30fc\u30d1\u30fc\u30af\u30e9\u30b9\u306e\u62bd\u8c61\u30e1\u30bd\u30c3\u30c9\u3092\u9069\u5207\u306b\u5b9f\u88c5\u3057\u305f\u308a\u3001\u30b5\u30d6\u30af\u30e9\u30b9\u3067\u6a5f\u80fd\u3092\u62e1\u5f35\u3059\u308b\u969b\u306b\u5229\u7528<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Composite<\/td><td class=\"column-2\">\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u95a2\u4fc2\u306e\u3088\u3046\u306b\u518d\u5e30\u7684\u306a\u69cb\u9020\u3092\u4f5c\u308b\u969b\u306b\u5229\u7528<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Decorator<\/td><td class=\"column-2\">\u6a5f\u80fd\u3092\u6b21\u3005\u306b\u8ffd\u52a0\u3059\u308b<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Facade<\/td><td class=\"column-2\">\u8907\u6570\u306e\u30af\u30e9\u30b9\u3092\u9069\u5207\u306b\u5236\u5fa1\u3059\u308b\u305f\u3081\u306e\u300c\u7a93\u53e3\u300d\u5f79\u306e\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u300c\u7a93\u53e3\u300d\u304b\u3089\u5404\u30af\u30e9\u30b9\u3078\u6307\u4ee4\u3092\u51fa\u3059<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">Flyweight<\/td><td class=\"column-2\">\u5c0f\u3055\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6570\u591a\u304f\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53ef\u80fd\u306a\u9650\u308a\u5171\u6709\u3055\u305b\u3066\u3001\u7121\u99c4\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u305b\u305a\u306b\u52b9\u7387\u7684\u306b\u51e6\u7406\u3092\u884c\u3046<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">Proxy<\/td><td class=\"column-2\">\u300c\u4ee3\u7406\u300d\u306b\u51e6\u7406\u3092\u80a9\u4ee3\u308f\u308a\u3055\u305b\u3001\u91cd\u3044\u51e6\u7406\u306f\u5fc5\u8981\u306a\u6642\u70b9\u307e\u3067\u9045\u3089\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-543 from cache -->\n<p>\u305d\u308c\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u9020\u306b\u95a2\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306e\u4e2d\u3067\u4ee3\u8868\u7684\u306aDecorator\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u307f\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:java decode:true \">\/\/ \u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306e\u6838\r\nabstract class Component {\r\n    public abstract int getColumns();\r\n    public abstract int getRows();\r\n    public abstract String getRowText(int row);\r\n    public final void show() {\r\n        for(int i = 0; i &lt; getRows(); i++) {\r\n            System.out.println(getRowText(i));\r\n        }\r\n    }\r\n}\r\n\r\n\/\/ Component\u306e\u5b9f\u88c5\r\nclass ConcreteComponent extends Component {\r\n    private String string;\r\n    \r\n    public ConcreteComponent(String string) {\r\n        this.string = string;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public int getColumns() {\r\n        return string.getBytes().length;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public int getRows() {\r\n        return 1;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public String getRowText(int row) {\r\n        if(row == 0) {\r\n            return string;\r\n        } else {\r\n            return null;\r\n        }\r\n    }\r\n}\r\n\r\n\/\/ \u88c5\u98fe\u8005\r\nabstract class Decorator extends Component {\r\n    protected Component component;\r\n    \r\n    protected Decorator(Component component) {\r\n        this.component = component;\r\n    }\r\n}\r\n\r\n\/\/ \u5177\u4f53\u7684\u306a\u88c5\u98fe\u8005\r\nclass ConcreteSideDecorator extends Decorator {\r\n    private char borderChar;\r\n    \r\n    public ConcreteSideDecorator(Component component, char ch) {\r\n        super(component);\r\n        this.borderChar = ch;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public int getColumns() {\r\n        return 1 + component.getColumns() + 1;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public int getRows() {\r\n        return component.getRows();\r\n    }\r\n    \r\n    \/\/@Override\r\n    public String getRowText(int row) {\r\n        return borderChar + component.getRowText(row) + borderChar;\r\n    }\r\n}\r\n\r\n\/\/ \u5177\u4f53\u7684\u306a\u88c5\u98fe\u8005\r\nclass ConcreteFullDecorator extends Decorator {\r\n    public ConcreteFullDecorator(Component component) {\r\n        super(component);\r\n    }\r\n    \r\n    \/\/@Override\r\n    public int getColumns() {\r\n        return 1 + component.getColumns() + 1;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public int getRows() {\r\n        return 1 + component.getRows() + 1;\r\n    }\r\n    \r\n    \/\/@Override\r\n    public String getRowText(int row) {\r\n        if(row == 0 || row == component.getRows() + 1) {\r\n            return \"+\" + makeLine('-', component.getColumns()) + \"+\";\r\n        } else {\r\n            return \"|\" + component.getRowText(row - 1) + \"|\";\r\n        }\r\n    }\r\n    \r\n    private String makeLine(char ch, int count) {\r\n        StringBuffer buf = new StringBuffer();\r\n        for(int i = 0; i &lt; count; i++) {\r\n            buf.append(ch);\r\n        }\r\n        return buf.toString();\r\n    }\r\n}\r\n\r\npublic class User {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ \u6838\u306e\u4f5c\u6210\u3068\u88c5\u98fe\u306e\u8ffd\u52a0\r\n        Component comp1 = new ConcreteComponent(\"Hello Java!\");\r\n        Component comp2 = new ConcreteSideDecorator(comp1, '#');\r\n        Component comp3 = new ConcreteFullDecorator(comp2);\r\n        \r\n        \/\/ \u51e6\u7406\u306e\u547c\u3073\u51fa\u3057\r\n        comp1.show();\r\n        comp2.show();\r\n        comp3.show();\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Hello Java!\r\n#Hello Java!#\r\n+-------------+\r\n|#Hello Java!#|\r\n+-------------+<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u307e\u305a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306e\u6838\u3068\u306a\u308bComponent\u30af\u30e9\u30b9\u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306eComponent\u30af\u30e9\u30b9\u3092ConcreteComponent\u30af\u30e9\u30b9\u3067\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u88c5\u98fe\u3092\u52a0\u3048\u3066\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308bDecorator\u30af\u30e9\u30b9\u3092\u5ba3\u8a00\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306eDecorator\u30af\u30e9\u30b9\u3092ConcreteSideDecorator\u3068ConcreteFullDecorator\u3067\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>User\u30af\u30e9\u30b9\u306emain\u30e1\u30bd\u30c3\u30c9\u3067\u306fConcreteComponent\u30af\u30e9\u30b9\u3001ConcreteSideDecorator\u30af\u30e9\u30b9\u3001ConcreteFullDecorator\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u9806\u306b\u751f\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u7d50\u679c\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u9806\u306b\u88c5\u98fe\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u632f\u308b\u821e\u3044\u306b\u95a2\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p>\u6700\u5f8c\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u632f\u308b\u821e\u3044\u306b\u95a2\u3059\u308b11\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n<table id=\"tablepress-544\" class=\"tablepress tablepress-id-544\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30d1\u30bf\u30fc\u30f3\u540d<\/th><th class=\"column-2\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-striping row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">Chain of Responsibility<\/td><td class=\"column-2\">\u3042\u308b\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u51e6\u7406\u53ef\u80fd\u306a\u3089\u51e6\u7406\u3092\u884c\u3044\u3001\u51e6\u7406\u4e0d\u53ef\u306e\u5834\u5408\u306f\u4ed6\u306e\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u9001\u3063\u3066\u51e6\u7406\u3092\u5b9f\u884c<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">Command<\/td><td class=\"column-2\">\u300c\u30de\u30a6\u30b9\u3092\u30af\u30ea\u30c3\u30af\u300d\u300c\u30ad\u30fc\u3092\u62bc\u3059\u300d\u306e\u3088\u3046\u306a\u547d\u4ee4\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u3044\u3046\u300c\u30e2\u30ce\u300d\u3067\u7ba1\u7406<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">Interpreter<\/td><td class=\"column-2\">\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30df\u30cb\u8a00\u8a9e\u306b\u5206\u3051\u3001\u305d\u306e\u30df\u30cb\u8a00\u8a9e\u3092\u300c\u901a\u8a33\u300d\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210<br \/>\n\u5909\u66f4\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u30df\u30cb\u8a00\u8a9e\u3092\u66f8\u304d\u63db\u3048\u308b<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">Iterator<\/td><td class=\"column-2\">\u8907\u6570\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9806\u756a\u306b\u6307\u3057\u793a\u3057\u3001\u5168\u4f53\u3092\u30b9\u30ad\u30e3\u30f3\u3057\u3066\u3044\u304f\u51e6\u7406\u3092\u884c\u3046<\/td>\n<\/tr>\n<tr class=\"row-6\">\n\t<td class=\"column-1\">Mediator<\/td><td class=\"column-2\">\u300c\u76f8\u8ac7\u5f79\u300d\u304c\u8907\u96d1\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u72b6\u614b\u3092\u628a\u63e1\u3057\u3001\u9069\u5207\u306a\u5224\u65ad\u3068\u652f\u6301\u3092\u884c\u3046<\/td>\n<\/tr>\n<tr class=\"row-7\">\n\t<td class=\"column-1\">Memento<\/td><td class=\"column-2\">\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u72b6\u614b\u3092\u8868\u3059\u5f79\u5272\u3092\u8a2d\u3051\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u72b6\u614b\u306e\u4fdd\u5b58\u3068\u5fa9\u5143\u3092\u884c\u3046<\/td>\n<\/tr>\n<tr class=\"row-8\">\n\t<td class=\"column-1\">Observer<\/td><td class=\"column-2\">if\u6587\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u72b6\u614b\u5909\u5316\u306b\u5bfe\u5fdc\u3057\u305f\u51e6\u7406\u3092\u5b9f\u884c<\/td>\n<\/tr>\n<tr class=\"row-9\">\n\t<td class=\"column-1\">State<\/td><td class=\"column-2\">\u72b6\u614b\u3092\u30af\u30e9\u30b9\u3068\u3057\u3066\u8868\u73fe\u3057\u3001\u30af\u30e9\u30b9\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3067\u72b6\u614b\u306e\u5909\u5316\u3092\u8868\u3059<\/td>\n<\/tr>\n<tr class=\"row-10\">\n\t<td class=\"column-1\">Strategy<\/td><td class=\"column-2\">\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u5b9f\u88c5\u90e8\u5206\u304c\u4ea4\u63db\u53ef\u80fd\u3067\u3001\u5909\u66f4\u304c\u5bb9\u6613<\/td>\n<\/tr>\n<tr class=\"row-11\">\n\t<td class=\"column-1\">Template Method<\/td><td class=\"column-2\">\u30b9\u30fc\u30d1\u30fc\u30af\u30e9\u30b9\u3067\u51e6\u7406\u306e\u67a0\u7d44\u307f\u3092\u5b9a\u3081\u3001\u30b5\u30d6\u30af\u30e9\u30b9\u3067\u305d\u306e\u5177\u4f53\u7684\u306a\u5185\u5bb9\u3092\u5b9a\u7fa9\u3059\u308b<\/td>\n<\/tr>\n<tr class=\"row-12\">\n\t<td class=\"column-1\">Visitor<\/td><td class=\"column-2\">\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u51e6\u7406\u3092\u5206\u96e2<br \/>\n\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u6e21\u308a\u6b69\u304f\u300c\u8a2a\u554f\u8005\u300d\u3092\u8868\u3059\u30af\u30e9\u30b9\u3092\u7528\u610f\u3057\u3001\u305d\u306e\u30af\u30e9\u30b9\u304c\u51e6\u7406\u3092\u5b9f\u65bd<br \/>\n\u65b0\u3057\u3044\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u306f\u65b0\u3057\u3044\u300c\u8a2a\u554f\u8005\u300d\u3092\u4f5c\u6210<br \/>\n\u30c7\u30fc\u30bf\u69cb\u9020\u5074\u306f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u300c\u8a2a\u554f\u8005\u300d\u3092\u53d7\u3051\u5165\u308c\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-544 from cache -->\n<p>\u305d\u308c\u3067\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u69cb\u9020\u306b\u95a2\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306e\u4e2d\u3067\u4ee3\u8868\u7684\u306aTemplate Method\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u307f\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:java decode:true \">\/\/ \u62bd\u8c61\u30af\u30e9\u30b9\r\nabstract class AbstractClass {\r\n    protected abstract void method();\r\n    public final void templateMethod() {\r\n        method();\r\n    }\r\n}\r\n\r\n\/\/ \u5177\u8c61\u30af\u30e9\u30b9\r\nclass ConcreteJavaClass extends AbstractClass {\r\n    \/\/@Override\r\n    protected void method() {\r\n        System.out.println(\"Hello Java!\");\r\n    }\r\n}\r\n\r\n\/\/ \u5177\u8c61\u30af\u30e9\u30b9\r\nclass ConcreteCppClass extends AbstractClass {\r\n    \/\/@Override\r\n    protected void method() {\r\n        System.out.println(\"Hello C++!\");\r\n    }\r\n}\r\n\r\npublic class User {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u751f\u6210\r\n        AbstractClass java = new ConcreteJavaClass();\r\n        AbstractClass cpp = new ConcreteCppClass();\r\n        \r\n        \/\/ \u51e6\u7406\u306e\u547c\u3073\u51fa\u3057\r\n        java.templateMethod();\r\n        cpp.templateMethod();\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Hello Java!\r\nHello C++!<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u62bd\u8c61\u30af\u30e9\u30b9AbstractClass\u3067\u51e6\u7406\u306e\u67a0\u7d44\u307f\u3092\u5b9a\u3081\u3001\u30b5\u30d6\u30af\u30e9\u30b9ConcreteJavaClass\u3001ConcreteCppClass\u3067\u305d\u306e\u5177\u4f53\u7684\u306a\u5185\u5bb9\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002User\u30af\u30e9\u30b9\u306emain\u30e1\u30bd\u30c3\u30c9\u3067ConcreteJavaClass\u3001ConcreteCppClass\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u3001AbstractClass\u306etemplateMethod\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5185\u5bb9\u306f\u30dd\u30ea\u30e2\u30fc\u30d5\u30a3\u30ba\u30e0\u306e\u5b9f\u88c5\u306b\u3088\u304f\u4f3c\u3066\u3044\u307e\u3059\u3002\u30dd\u30ea\u30e2\u30fc\u30d5\u30a3\u30ba\u30e0\u3067\u306f\u62bd\u8c61\u30af\u30e9\u30b9\u306emethod\u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001Template Method\u30d1\u30bf\u30fc\u30f3\u3067\u306fmethod\u3092\u76f4\u63a5\u4f7f\u7528\u305b\u305a\u306b\u3001templateMethod\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30ea\u30e2\u30fc\u30d5\u30a3\u30ba\u30e0\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/10188\" 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\/2016\/08\/object-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u8131\u521d\u5fc3\u8005\u306e\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u518d\u5165\u9580<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2025\u5e7412\u670826\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u5165\u9580\u8005\u5411\u3051\u30aa\u30b9\u30b9\u30e1\u306e\u66f8\u7c4d<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u7d19\u9762\u306e\u90fd\u5408\u4e0a\u3001\u3054\u304f\u4e00\u90e8\u3057\u304b\u3054\u7d39\u4ecb\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u5165\u9580\u8005\u306b\u3082\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u308b\u66f8\u7c4d\u3092\u3054\u7d39\u4ecb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u3069\u308c\u304b\u4e00\u518a\u624b\u5143\u306b\u7f6e\u3044\u3066\u304a\u304f\u3068\u8abf\u3079\u308b\u969b\u306b\u52b9\u7387\u7684\u3067\u3059\u3057\u3001\u8a2d\u8a08\u306e\u969b\u306e\u4e0d\u5b89\u3082\u89e3\u6d88\u3055\u308c\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>\u5897\u88dc\u6539\u8a02\u7248Java\u8a00\u8a9e\u3067\u5b66\u3076\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u5165\u9580<\/h3>\n<p><a title=\"\" href=\"https:\/\/www.amazon.co.jp\/%E5%A2%97%E8%A3%9C%E6%94%B9%E8%A8%82%E7%89%88Java%E8%A8%80%E8%AA%9E%E3%81%A7%E5%AD%A6%E3%81%B6%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3%E5%85%A5%E9%96%80-%E7%B5%90%E5%9F%8E-%E6%B5%A9\/dp\/4797327030?SubscriptionId=AKIAI4TWNNEFXKKTPYDQ&amp;tag=samurai4809-22&amp;linkCode=xm2&amp;camp=2025&amp;creative=165953&amp;creativeASIN=4797327030\" target=\"_blank\" rel=\"noopener noreferrer\">\u5897\u88dc\u6539\u8a02\u7248Java\u8a00\u8a9e\u3067\u5b66\u3076\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u5165\u9580<\/a><\/p>\n<p>\u5165\u9580\u8005\u5411\u3051\u306e\u53c2\u8003\u66f8\u306e\u4e2d\u3067\u3001\u6700\u3082\u6709\u540d\u306a\u66f8\u7c4d\u3067\u3059\u3002<\/p>\n<p>\u5165\u9580\u66f8\u3068\u3057\u3066\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n<h3>\u72ec\u7fd2\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p><a title=\"\" href=\"https:\/\/www.amazon.co.jp\/%E7%8B%AC%E7%BF%92%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3-%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%86%E3%82%AF%E3%83%8E%E3%83%AD%E3%82%B8%E3%83%83%E3%82%AF%E3%82%A2%E3%83%BC%E3%83%88\/dp\/4798104450?SubscriptionId=AKIAI4TWNNEFXKKTPYDQ&amp;tag=samurai4809-22&amp;linkCode=xm2&amp;camp=2025&amp;creative=165953&amp;creativeASIN=4798104450\" target=\"_blank\" rel=\"noopener noreferrer\">\u72ec\u7fd2\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3<\/a><\/p>\n<p>\u4e8b\u4f8b\u304c\u305f\u304f\u3055\u3093\u76db\u308a\u8fbc\u307e\u308c\u305f\u5165\u9580\u66f8\u3067\u3059\u3002<\/p>\n<h3>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306b\u304a\u3051\u308b\u518d\u5229\u7528\u306e\u305f\u3081\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3<\/h3>\n<p><a title=\"\" href=\"https:\/\/www.amazon.co.jp\/%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E6%8C%87%E5%90%91%E3%81%AB%E3%81%8A%E3%81%91%E3%82%8B%E5%86%8D%E5%88%A9%E7%94%A8%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3-%E3%82%A8%E3%83%AA%E3%83%83%E3%82%AF-%E3%82%AC%E3%83%B3%E3%83%9E\/dp\/4797311126?SubscriptionId=AKIAI4TWNNEFXKKTPYDQ&amp;tag=samurai4809-22&amp;linkCode=xm2&amp;camp=2025&amp;creative=165953&amp;creativeASIN=4797311126\" target=\"_blank\" rel=\"noopener noreferrer\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u306b\u304a\u3051\u308b\u518d\u5229\u7528\u306e\u305f\u3081\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3<\/a><\/p>\n<p>GoF\u306e\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u306e\u539f\u8457\u3092\u65e5\u672c\u8a9e\u8a33\u3057\u305f\u66f8\u7c4d\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306f\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306b\u306f\u8a2d\u8a08\u3092\u77ed\u6642\u9593\u306b\u52b9\u7387\u5316\u3067\u304d\u308b\u3001\u518d\u5229\u7528\u3057\u3084\u3059\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u308b\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u540c\u58eb\u306e\u5171\u901a\u8a00\u8a9e\u3068\u3057\u3066\u4f7f\u3048\u308b\u306a\u3069\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3092\u4f55\u5ea6\u3082\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u306fJava\u306a\u3069\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u3067\u4f7f\u308f\u308c\u308b\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3\u306e\u3053\u3068\u3067\u3059\u3002\u7279\u306b\u6709\u540d\u306aGoF\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u3001\u6570\u3005\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u5de5\u592b\u3092\u91cd\u306d\u3066\u304d\u305f\u8a2d\u8a08\u304c23\u7a2e\u985e\u306b\u30d1\u30bf\u30fc\u30f3\u5206\u3051\u3055\u308c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002 \u3069\u306e\u3088\u3046\u306b\u30b7\u30b9 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":60040,"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":[2343],"tags":[71,1507],"class_list":["post-60038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-start","tag-c","tag-1507"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac \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\/60038\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac \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\/60038\" \/>\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=\"2018-06-21T14:27:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-28T06:34:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/java_designpattern.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\\\/60038#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac\",\"datePublished\":\"2018-06-21T14:27:21+00:00\",\"dateModified\":\"2024-08-28T06:34:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038\"},\"wordCount\":105,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/java_designpattern.jpg\",\"keywords\":[\"C#\",\"\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\"],\"articleSection\":[\"Java\u5165\u9580\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038\",\"name\":\"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/java_designpattern.jpg\",\"datePublished\":\"2018-06-21T14:27:21+00:00\",\"dateModified\":\"2024-08-28T06:34:04+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac \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\\\/60038#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/java_designpattern.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/java_designpattern.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/60038#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac\"}]},{\"@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":"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac \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\/60038","og_locale":"ja_JP","og_type":"article","og_title":"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac \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\/60038","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":"2018-06-21T14:27:21+00:00","article_modified_time":"2024-08-28T06:34:04+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/java_designpattern.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\/60038#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/60038"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac","datePublished":"2018-06-21T14:27:21+00:00","dateModified":"2024-08-28T06:34:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/60038"},"wordCount":105,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/60038#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/java_designpattern.jpg","keywords":["C#","\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3"],"articleSection":["Java\u5165\u9580"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/60038","url":"https:\/\/www.sejuku.net\/blog\/60038","name":"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/60038#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/60038#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/java_designpattern.jpg","datePublished":"2018-06-21T14:27:21+00:00","dateModified":"2024-08-28T06:34:04+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac \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\/60038#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/60038"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/60038#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/java_designpattern.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/java_designpattern.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/60038#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Java\u30c7\u30b6\u30a4\u30f3\u30d1\u30bf\u30fc\u30f3\u516823\u7a2e\u306e\u7279\u9577\u3092\u30b9\u30c3\u30ad\u30ea\u89e3\u8aac"}]},{"@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\/60038","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=60038"}],"version-history":[{"count":1,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/60038\/revisions"}],"predecessor-version":[{"id":258781,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/60038\/revisions\/258781"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/60040"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=60038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=60038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=60038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}