Imagine three objects with coordinates on a grid. I must compare the distance of object 1 and object 2 to object 3 with the distance formula. compareTo does not allow me to do with, mates. I need to find a hack

*edit* right after posting, it came to me. post if you are curious :P