|
-
November 14th, 2009, 10:47 PM
#1
Three Objects involved, but obj1.compareTo(obj2) is binary
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|