Monday, August 27, 2012

implement equals in entityproxy

Hi there

I have 2 CellLists with EntityProxies. I want to add a selected item
from one only if it is not present in the other.
Is there a better way to do this than:
a) creating a wrapper object implementing equals and using list.contains
b) comparing all selected elements to each element in the other
list(for example database id filed)?

cheers

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate