aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/EqualsAndHashCodeExample_post.jpage
AgeCommit message (Collapse)Author
2015-06-25The hashCode() method now generates a magic prime instead of 0 for the hash ↵Reinier Zwitserloot
of null values; this reduces collisions.
2014-03-26[i660] canEqual is now protected instead of public.Roel Spilker
Also fixed the total lack of canEqual in the usage examples.
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2012-04-29Updated the after-delombok images to the latest state.Roel Spilker
2010-11-18Added documentation for val and @Getter(lazy=true) and updated docs for Log ↵Reinier Zwitserloot
and EqualsAndHashCode to reflect new lombok 0.10 features.
2010-07-21Added using .getX() instead of using .x in equals, hashCode, and toString. ↵Reinier Zwitserloot
Also updated changelog as well as the docs. Also updated usage examples for @EqualsAndHashCode, @ToString, and @Data, which also contained some other minor issues (such as missing this. qualifiers). Still to do is to detect that getters don't exist _yet_ but will later due to @Getter or @Data.
2009-07-28Added website feature documentation for @ToString and @EqualsAndHashCode, ↵Reinier Zwitserloot
and modified the docs for @Data to refer to the docs of these new annotations. The build script for the website has been updated to clean out the website build dir first, so files that used to exist but have now been tossed are no longer there. There's also a special website-no-videos target which builds a website deployable without the videos. This makes the upload a lot faster if the videos haven't changed.