The categories are represented by Comparable instance, with the category label being provided by the toString method.
Comparable
toString
The categories are represented by
Comparableinstance, with the category label being provided by thetoStringmethod.