...
This rule appears in the Java Secure Coding Standard as MET14 MET10-J. Follow the general contract when implementing the compareTo() method.
Bibliography
Wiki Markup |
---|
\[[Meyers 01|AA. Bibliography#Meyers 01]\] Item 21: Always have comparison functions return false for equal values. \[[Sutter 05|AA. Bibliography#Sutter 05]\] Item 83: Use a checked STL implementation. \[[ISO/IEC 14882-2003|AA. Bibliography#ISO/IEC 14882-2003]\] Section 24: Iterators Library. |
...