Versions Compared

Key

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

...

Some available static analysis tools can detect instances where the compareTo() method is reading from a nonconstant field. If the nonconstant field were modified, the value of compareTo() might change, which could break program invariants.

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9e2d3d090a062f23-4f132ce1-46ec4faf-adc58543-99990ecab74ae0700c227759"><ac:plain-text-body><![CDATA[

[[API 2006

AA. References#API 06]]

java.util.Interface Set<E> and java.util.Interface Map<K,V>

]]></ac:plain-text-body></ac:structured-macro>

...