<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Record on 办公AI智能小助手</title>
    <link>https://blog.qife122.com/tags/record/</link>
    <description>Recent content in Record on 办公AI智能小助手</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <copyright>qife</copyright>
    <lastBuildDate>Thu, 11 Sep 2025 18:34:18 +0800</lastBuildDate>
    <atom:link href="https://blog.qife122.com/tags/record/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Java中使用Record创建不可变对象的简明指南</title>
      <link>https://blog.qife122.com/p/java%E4%B8%AD%E4%BD%BF%E7%94%A8record%E5%88%9B%E5%BB%BA%E4%B8%8D%E5%8F%AF%E5%8F%98%E5%AF%B9%E8%B1%A1%E7%9A%84%E7%AE%80%E6%98%8E%E6%8C%87%E5%8D%97/</link>
      <pubDate>Thu, 11 Sep 2025 18:34:18 +0800</pubDate>
      <guid>https://blog.qife122.com/p/java%E4%B8%AD%E4%BD%BF%E7%94%A8record%E5%88%9B%E5%BB%BA%E4%B8%8D%E5%8F%AF%E5%8F%98%E5%AF%B9%E8%B1%A1%E7%9A%84%E7%AE%80%E6%98%8E%E6%8C%87%E5%8D%97/</guid>
      <description>&lt;h1 id=&#34;不可变对象在java中使用record的实现&#34;&gt;不可变对象在Java中使用Record的实现&lt;/h1&gt;&#xA;&lt;p&gt;创建后内容不变的对象通常很有用。要了解如何构建此类类的完整说明，您可以阅读我之前的文章《Java中的不可变对象》。&lt;/p&gt;&#xA;&lt;p&gt;假设我们想构建一个具有两个字段的PersonClass：firstName和lastName。要创建不可变实例，此类必须：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
