Fixed build: left something in that I was hemming and hawing about:

something that would be slightly more efficient if the other Collection
was an ArrayIntSet, vs something more general for all Interables. I suppose
I could put both in: test of ArrayIntSet and do the most efficient thing,
then Interable and end up creating an Interator, or pass to the super method.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1781 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2006-02-06 19:32:23 +00:00
parent 3aba38b8de
commit 7068ca93d1
@@ -306,7 +306,7 @@ public class ArrayIntSet extends AbstractSet
Interator inter = ((Interable) c).interator();
boolean modified = false;
while (inter.hasNext()) {
if (add(other._values[ii])) {
if (add(inter.nextInt())) {
modified = true;
}
}