(Object oldval, Object newval)
| 70 | } |
| 71 | |
| 72 | public void notifyWatches(Object oldval, Object newval){ |
| 73 | IPersistentMap ws = watches; |
| 74 | if(ws.count() > 0) |
| 75 | { |
| 76 | for(ISeq s = ws.seq(); s != null; s = s.next()) |
| 77 | { |
| 78 | Map.Entry e = (Map.Entry) s.first(); |
| 79 | IFn fn = (IFn) e.getValue(); |
| 80 | if(fn != null) |
| 81 | fn.invoke(e.getKey(), this, oldval, newval); |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | } |
no test coverage detected