No worries.

I should probably clarify a bit by saying that you should only really use 
the "==" when comparing primitives. For non primitives (e.g. any Object 
class - basically anything that starts with a capital letter), most of the 
time, you are probably wanting to use .equals.

Remember that the .equals class can be overriden on any class so some 
classes can customise and choose exactly how to test for equality. If you 
use the "==" then you have no choice in how that test is run other than the 
default way which compares the memory references.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to