Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8261123

Augment discussion of equivalence classes in Object.equals and comparison methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • core-libs
    • None
    • b11

      The behavior of equals methods and comparators could be clarified by more explicitly discussing the equivalence classes those methods define. Such discussions would be especially helpful for classes like BigDecimal where the natural ordering is *inconsistent* with equals.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: