Parent Directory | Revision Log | Patch
revision 1.4 by benja, Mon Apr 21 18:15:43 2003 UTC | revision 1.5 by benja, Mon Apr 21 21:07:41 2003 UTC | |
---|---|---|
# | Line 96 public class SimpleSetCollector implemen | Line 96 public class SimpleSetCollector implemen |
96 | ||
97 | public void addCollectionListener(CollectionListener l) { | public void addCollectionListener(CollectionListener l) { |
98 | for(Iterator i=set.iterator(); i.hasNext();) { | for(Iterator i=set.iterator(); i.hasNext();) { |
99 | if(!l.item(i.next())) return; | if(!l.item(i.next())) break; |
100 | } | } |
101 | l.finish(false); | |
102 | } | } |
103 | ||
104 | public int size() { | public int size() { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |