The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

It doesn't work...

Posted by Eduardo on November 07, 2001 at 8:33 AM

This is the message the compiler gives, but anyway, I did the same for an alphabetic comparator and it works... the problem is the long, I guess:


incompatible types
found : boolean
required: int
return ss1>ss2;
^
1 error

Process completed.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us