<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sirisha Pratha on foojay.io - Friends of OpenJDK</title><link>https://foojayio.github.io/website/today/author/sirisha-pratha/</link><description>Articles written by Sirisha Pratha on foojay.io - Friends of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 22 Jun 2021 22:58:38 +0000</lastBuildDate><atom:link href="https://foojayio.github.io/website/today/author/sirisha-pratha/index.xml" rel="self" type="application/rss+xml"/><item><title>Primitive Set Operations in Eclipse Collections — Part 2</title><link>https://foojayio.github.io/website/today/primitive-set-operations-in-eclipse-collections-part-2/</link><pubDate>Tue, 22 Jun 2021 22:58:38 +0000</pubDate><guid>https://foojayio.github.io/website/today/primitive-set-operations-in-eclipse-collections-part-2/</guid><description>&lt;p&gt;&lt;img src="https://foojayio.github.io/website/today/primitive-set-operations-in-eclipse-collections-part-2/foojay-2-featured.png" alt="Primitive Set Operations in Eclipse Collections - Part 2" loading="lazy"&gt;
&lt;/p&gt;
&lt;p&gt;Primitive Set Operations in Eclipse Collections - Part 2{#caption-attachment-45284}&lt;/p&gt;
&lt;p&gt;Continuing &lt;a href="https://foojayio.github.io/website/today/primitive-set-operations-in-eclipse-collections/"&gt;from Part 1&lt;/a&gt;
, in the Eclipse Collections 11.0 release, we will have the following Set operations &lt;code&gt;union&lt;/code&gt;, &lt;code&gt;intersect&lt;/code&gt;, &lt;code&gt;difference&lt;/code&gt;, &lt;code&gt;symmetricDifference&lt;/code&gt;, &lt;code&gt;isSubsetOf&lt;/code&gt;, &lt;code&gt;isProperSubsetOf&lt;/code&gt;, &lt;code&gt;cartesianProduct&lt;/code&gt; on primitive collections.&lt;/p&gt;
&lt;img decoding="async" aria-describedby="caption-attachment-45283" class="wp-image-45283 size-medium" src="Set_Operations-4-700x444.png" alt="Set Operations that will be available on primitive sets in Eclipse Collections 11.0." width="700" height="444"&gt;
&lt;p&gt;Set Operations that will be available on primitive sets in Eclipse Collections 11.0.{#caption-attachment-45283}&lt;/p&gt;</description></item><item><title>Primitive Set Operations in Eclipse Collections</title><link>https://foojayio.github.io/website/today/primitive-set-operations-in-eclipse-collections/</link><pubDate>Mon, 07 Dec 2020 11:14:46 +0000</pubDate><guid>https://foojayio.github.io/website/today/primitive-set-operations-in-eclipse-collections/</guid><description>&lt;img fetchpriority="high" decoding="async" class="size-medium wp-image-36467" src="foojay-prim-1-700x157.png" alt="Set Operations Venn Diagrams" width="700" height="157"&gt;
&lt;br /&gt;
&lt;p&gt;&lt;a href="https://www.eclipse.org/collections/" target="_blank" rel="noopener noreferrer"&gt;Eclipse Collections&lt;/a&gt;
 has a rich assortment of data structures, and one of them is a Set.&lt;/p&gt;
&lt;p&gt;Recently, I worked on an issue to implement union, intersect, and difference operations in sets for primitive types.&lt;/p&gt;
&lt;p&gt;The sections below cover each operation&amp;rsquo;s objective, design considerations, and code implementation.&lt;/p&gt;
&lt;p&gt;The last section covers the takeaways.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="h3-0-union-what-does-this-operation-do"&gt;Union: What Does This Operation Do?&lt;/h3&gt;
&lt;p&gt;Method signature: &lt;code&gt;setA.union(setB)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Union as the name indicates, it takes elements from two sets and combines them into one.&lt;/p&gt;</description></item><item><title>For the Record: A Little Less Conversation, A Little More Action</title><link>https://foojayio.github.io/website/today/for-the-record/</link><pubDate>Fri, 13 Nov 2020 08:52:40 +0000</pubDate><guid>https://foojayio.github.io/website/today/for-the-record/</guid><description>&lt;p&gt;Ever since Java announced their 6-month release cycle, there is excitement around exploring new features and even more so with preview features.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://openjdk.java.net/jeps/12" target="_blank" rel="noopener noreferrer"&gt;JEP-12&lt;/a&gt;
 for the definition of the preview feature.{#2d3e}&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A &lt;em&gt;preview feature&lt;/em&gt; is a new feature of the Java language, Java Virtual Machine, or Java SE API that is fully specified, fully implemented, and yet impermanent. It is available in a JDK feature release to provoke developer feedback based on real world use; this may lead to it becoming permanent in a future Java SE Platform.{#9a9b}&lt;/p&gt;</description></item></channel></rss>