What does the `compareTo()` method do in Java?
The `compareTo()` method compares two objects and returns a boolean value indicating whether they are equal or not.
I'm a bit disappointed, as the `compareTo()` method doesn't return a boolean but an integer value.
Can you explain what kind of values are returned by the `compareTo()` method and how to interpret them?