Javadoc

Skip to end of metadata
Go to start of metadata
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 12, 2012

    A useful OpenJdk task would be to add and enhance the javadoc of compareTo() and equals(). In particular, a standardized form of language would be useful to explain how these key methods are implemented (most of the descriptions in JDK classes are poor). I especially want to see the language "consistent with equals" or "inconsistent with equals" in every compareTo() implementation in the JDK.

    See http://blog.joda.org/2012/11/pitfalls-of-consistent-with-equals.html for more details of my basic analysis.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Oracle community and they might not be employed or in any way formally affiliated with Oracle. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Oracle nor any other party necessarily agrees with them.