if "xxx" is a mutable Set then it should work.

However you have to be careful about how you remove elements from the collection you working with, depending on your you do it, you'll get an exception about concurrent modification.

- Brill

On 3-Mar-09, at 5:44 PM, Johan Compagner wrote:

Is this the same?

Set set1 = xxx
Collection col1 = xxx;

foreach (col in col1)
set1.remove(col)

or

set1.removeAll(col1);


???


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to