{"blog_url":"https://techblog.dt-dynamics.com/","author_name":"dtdynamics","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.dt-dynamics.com%2Fentry%2F2025%2F03%2F29%2F120248\" title=\"Scala\u306e.copy\u306b\u3064\u3044\u3066 - DT\u30c0\u30a4\u30ca\u30df\u30af\u30b9 \u30c6\u30c3\u30af\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"DT\u30c0\u30a4\u30ca\u30df\u30af\u30b9 \u30c6\u30c3\u30af\u30d6\u30ed\u30b0","published":"2025-03-29 12:02:48","categories":["Scala"],"url":"https://techblog.dt-dynamics.com/entry/2025/03/29/120248","height":"190","type":"rich","title":"Scala\u306e.copy\u306b\u3064\u3044\u3066","version":"1.0","description":"\u3054\u3042\u3044\u3055\u3064 \u3053\u3093\u306b\u3061\u306f\u3002meviy\u306eWeb\u30b7\u30b9\u30c6\u30e0\u3092\u958b\u767a\u3057\u3066\u3044\u308b\u8c37\u5e73\u3067\u3059\u3002 Scala\u306e.copy\u306f\u30b1\u30fc\u30b9\u30af\u30e9\u30b9\u306b\u304a\u3044\u3066\u4fbf\u5229\u306a\u6a5f\u80fd\u306e1\u3064\u3067\u3059\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001.copy\u306e\u4fbf\u5229\u306a\u70b9\u3084Java\u3068\u306e\u6bd4\u8f03\u3001\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3067\u306e\u6d3b\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 .copy\u306e\u4fbf\u5229\u306a\u70b9 .copy\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u3057\u304f\u4f5c\u6210\u3057\u306a\u304c\u3089\u3001\u7279\u5b9a\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3060\u3051\u3092\u5909\u66f4\u3067\u304d\u308b\u6a5f\u80fd\u3067\u3059\u3002 \u30b1\u30fc\u30b9\u30af\u30e9\u30b9\u3092\u7528\u3044\u308b\u3068\u3001\u624b\u8efd\u306b\u5024\u306e\u4e00\u90e8\u3092\u5909\u66f4\u3057\u305f\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u3002 \u4f7f\u7528\u4f8b case class User(name: String, age: Int) val user1 = User(\"Alice\", 25) val user2\u2026","author_url":"https://blog.hatena.ne.jp/dtdynamics/"}