View Single Post
  #4 (permalink)  
Old 10-01-2007, 10:54 AM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
As far as i know, that is called operator overloading in C++ and Java does not have that. But of course instead of operator overloading, you can define your comparison with Comparable interface.
Reply With Quote