(Object dispatchVal, IFn method)
| 56 | } |
| 57 | |
| 58 | public MultiFn addMethod(Object dispatchVal, IFn method) { |
| 59 | rw.writeLock().lock(); |
| 60 | try{ |
| 61 | methodTable = getMethodTable().assoc(dispatchVal, method); |
| 62 | resetCache(); |
| 63 | return this; |
| 64 | } |
| 65 | finally { |
| 66 | rw.writeLock().unlock(); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | public MultiFn removeMethod(Object dispatchVal) { |
| 71 | rw.writeLock().lock(); |
nothing calls this directly
no test coverage detected