
resources.report.rules.findbugs.CO_ABSTRACT_SELF.html Maven / Gradle / Ivy
Co: Abstract class defines covariant compareTo() method (CO_ABSTRACT_SELF)
Co: Abstract class defines covariant compareTo() method (CO_ABSTRACT_SELF)
This class defines a covariant version of compareTo()
.
To correctly override the compareTo()
method in the
Comparable
interface, the parameter of compareTo()
must have type java.lang.Object
.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy