| 11 | package clojure.lang; |
| 12 | |
| 13 | final public class Volatile implements IDeref { |
| 14 | |
| 15 | volatile Object val; |
| 16 | |
| 17 | public Volatile(Object val){ |
| 18 | this.val = val; |
| 19 | } |
| 20 | |
| 21 | public Object deref() { |
| 22 | return val; |
| 23 | } |
| 24 | |
| 25 | public Object reset(Object newval) { |
| 26 | return this.val = newval; |
| 27 | } |
| 28 | |
| 29 | } |
nothing calls this directly
no outgoing calls
no test coverage detected