Tuesday, July 19, 2011

Re: [android-developers] Identify Unique Objects in java.........

On 19 July 2011 14:34, Jaswant <jaswant1990@gmail.com> wrote:
[...]
> NOTE->Two objects are UNIQUE iff there corresponding members have same
> values .....

Surely, you mean the opposite.
By definition only one object can be unique...

You need to read on identity of an object, equality of objects and
contract between Object.equals() and Object.hashCode().

> waiting 4 optimum solution...

ain't that easy...

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

No comments:

Post a Comment