()
| 344 | } |
| 345 | |
| 346 | public static Associative getThreadBindings(){ |
| 347 | Frame f = dvals.get(); |
| 348 | IPersistentMap ret = PersistentHashMap.EMPTY; |
| 349 | for(ISeq bs = f.bindings.seq(); bs != null; bs = bs.next()) |
| 350 | { |
| 351 | IMapEntry e = (IMapEntry) bs.first(); |
| 352 | Var v = (Var) e.key(); |
| 353 | TBox b = (TBox) e.val(); |
| 354 | ret = ret.assoc(v, b.val); |
| 355 | } |
| 356 | return ret; |
| 357 | } |
| 358 | |
| 359 | public final TBox getThreadBinding(){ |
| 360 | if(threadBound.get()) |