The Orderable class can be inherited by classes which wish to provide each of the comparison operator methods without needing to implement each of the individual methods. The inheriting class need only implement the Comparable compareTo() method (
Section 5.4.4.2, “compareTo”). This class is defined as a mixin class.