Thread
:
How to use <,>,== on custom classes
View Single Post
#
4
(
permalink
)
10-01-2007, 10:54 AM
JavaBean
Moderator
Join Date: May 2007
Posts: 1,272
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.
JavaBean
View Public Profile
Send a private message to JavaBean
Find all posts by JavaBean