Author: Sirisha Pratha

Sirisha Pratha

Java Developer since 2011, Pittsburgh JUG leader, Committer at Eclipse Collections Java Library.

  • 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.

    S. Pratha
    Read more
  • 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.

    S. Pratha
    Read more

Subscribe to foojay updates:
Copied to the clipboard