Comparable is an interface:public int compareTo(T o);
You write that when you write some class, or you assure that it is present in some class you are going to store in an ordered collection.
the .equals method is used where == won't work, the double equals (==) simple gives the reference address of an object, it will work on primitives such as integer, double and whatever. It will not work on anything that is an instance of a class, at least on in the traditional sense, instanceof is often used where one would initially consider ==
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."