Product Site

5.4.24.12. compareTo

This method returns -1 if the other is larger than the receiving object, 0 if the two objects are equal, and 1 if other is smaller than the receiving object.