View Single Post
  #9  
Old 02-07-2011, 05:14 PM
MercFan's Avatar
MercFan MercFan is offline
Registered User
 
Join Date: Nov 2004
Location: Denver, CO
Posts: 994
Quote:
Originally Posted by TheDon View Post
that issue is solved, now to sort and compare...
Be careful with comparing objects such as two Strings in Java as they are objects so obj1=obj2 does not yield predicatable results you need to use .equals() method, so it should be obj1.equals(obj2).

Hope it helps -
James
__________________
1987 Mercedes 300SDL; SOLD
1985 Mercedes 300D; SOLD
2006 Honda Pilot - wife's ride; 122K;
1995 Toyota Land Cruiser - 3X locked; 182K

Last edited by MercFan; 02-07-2011 at 06:04 PM.
Reply With Quote