/[storm]/storm/org/nongnu/storm/impl/SimpleSetCollector.java
ViewVC logotype

Diff of /storm/org/nongnu/storm/impl/SimpleSetCollector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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() {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26