A Jr. programmer of our team asked me about how to implement object of equals, hashcode and compareTo. I gave him an example and how it relates. Also I showed him the practices. But actually I take the advantage to use Jakarta Commons in many projects instead implementing the code.

1. Using the Jakarta Commons, Part 1

2. Using the Jakarta Commons, Part2

3. The Hidden Gems of Jakarta Commons

4. Simplifying Java with Jakarta Commons Lang

5. Jakarta Commons Cookbook

6. Making Java Objects Comparable

Advertisements