Quote:
Originally Posted by TheDon
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.
|