Sirisha Pratha3 articles

Latest post Primitive Set Operations in Eclipse Collections — Part 2

Continuing from Part 1, in the Eclipse Collections 11.0 release, we will have the following Set operations union, intersect, difference, symmetricDifference, isSubsetOf, isProperSubsetOf, cartesianProduct on primitive collections.

These APIs are already available on Sets on the object side, but my goal was to implement these methods for Sets supporting primitive types namely IntSet, LongSet, ShortSet, DoubleSet, FloatSet, CharSet, BooleanSet, ByteSet. Additionally, the above operations will be available in both mutable and immutable interfaces.

Avatar photo
  • Sirisha Pratha
June 22, 2021
  • Primitive Set Operations in Eclipse Collections

    Eclipse Collections has a rich assortment of data structures, and one of them is a Set.

    Recently, I worked on an issue to implement union, intersect, and difference operations in sets for primitive types.

    The sections below cover each operation’s objective, design considerations, and code implementation.

    The last section covers the takeaways.

    Avatar photo
    • Sirisha Pratha
    December 07, 2020
  • For the Record!

    Ever since Java announced their 6-month release cycle, there is excitement around exploring new features and even more so with preview features.

    Now, what is a record? It is a new variety of type declaration. It is also a sub-type of class. A common type of class, as we all know, is the data-carrier class. They are classes that have some fields and their corresponding getters and setters. They usually have little to no logic.

    Records help provide a way to succinctly describe the intent of these data-carrier classes. A little less conversation, a little more action.

    Avatar photo
    • Sirisha Pratha
    November 13, 2020
1-3 of 3

Subscribe to foojay updates:

https://foojay.io/today/author/sirisha-pratha/feed/
Copied to the clipboard