Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Violating the general contract when implementing the compareTo() method can lead to result in unexpected results, possibly leading to invalid comparisons and information disclosure.

...