MCPcopy Index your code
hub / github.com/clojure/clojure / deref

Method deref

src/jvm/clojure/lang/Ref.java:114–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112//*
113
114public Object deref(){
115 LockingTransaction t = LockingTransaction.getRunning();
116 if(t == null)
117 return currentVal();
118 return t.doGet(this);
119}
120
121//void validate(IFn vf, Object val){
122// try{

Callers 6

fnMethod · 0.95
putMethod · 0.95
removeMethod · 0.95
clearMethod · 0.95
putIfAbsentMethod · 0.95
replaceMethod · 0.95

Calls 3

getRunningMethod · 0.95
currentValMethod · 0.95
doGetMethod · 0.95

Tested by

no test coverage detected