How to implement that interface? Also reccomendation to point 3 says: make sure compareTo() returns 0 if an object is compared to itself.