<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Records on JAVAPRO International</title><link>https://javapro-en.svenruppert.com/tags/records/</link><description>Recent content in Records on JAVAPRO International</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 17 Jun 2025 07:00:02 +0000</lastBuildDate><atom:link href="https://javapro-en.svenruppert.com/tags/records/index.xml" rel="self" type="application/rss+xml"/><item><title>Modern Java</title><link>https://javapro-en.svenruppert.com/modern-java/</link><pubDate>Tue, 17 Jun 2025 07:00:02 +0000</pubDate><guid>https://javapro-en.svenruppert.com/modern-java/</guid><description>&lt;p&gt;With Java&amp;rsquo;s adoption of a six-month release cycle, new features are being introduced to the language rapidly. This article will explore the latest enhancements from Java versions 21 to 24. Our focus will be on language-specific changes, excluding updates to the JVM. Additionally, we will not cover the Foreign Functions and Memory API, which serves as a modern and safer alternative to JNI.&lt;/p&gt;
&lt;p&gt;I would categorize the changes made to the language into three groups:&lt;/p&gt;</description></item><item><title>Record Patterns — Building on JAVA Records</title><link>https://javapro-en.svenruppert.com/record-patterns-building-on-java-records/</link><pubDate>Wed, 15 Jan 2025 14:24:55 +0000</pubDate><guid>https://javapro-en.svenruppert.com/record-patterns-building-on-java-records/</guid><description>&lt;p&gt;Records are becoming quite popular nowadays. Put it simply, they are just constant classes. So what&amp;rsquo;s the big deal about them. Well, the actual power of records comes with record patterns. Let&amp;rsquo;s delve into this interesting construct.&lt;/p&gt;
&lt;p&gt;Let us say that we have a stack of books:&lt;/p&gt;
&lt;p&gt;&lt;figure class="post-figure"&gt;
 &lt;img src="https://javapro-en.svenruppert.com/uploads/2025/01/stackOfBooks.jpg" alt="" loading="lazy" decoding="async"&gt;
 
 
 
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;And we have been confronted with a task — Given a Book, select the book or do not select depending on the type and some conditions. In the old way, let us say the Book is described as a Class:&lt;/p&gt;</description></item><item><title>Java Records — Etched in Finality</title><link>https://javapro-en.svenruppert.com/java-records-etched-in-finality/</link><pubDate>Wed, 15 Jan 2025 14:10:29 +0000</pubDate><guid>https://javapro-en.svenruppert.com/java-records-etched-in-finality/</guid><description>&lt;p&gt;&lt;em&gt;record: to set down in writing or the like, as for the purpose of preserving evidence. [dictionary.com]&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
*&lt;em&gt;The Minimalist — A Resolution*&lt;/em&gt;
Working from home has taught some of us to be thinking of being minimalistic. It was no different for our protagonist “Dev” — Dev decided to being minimalistic with respect to some of the dresses — So he decided to keep track of what he is wearing to donate the unused dresses. To keep it simple, he decided to keep track of two items, shirts and shoes, and wrote the following class in Java:\&lt;/p&gt;</description></item></channel></rss>