(Object val)
| 217 | } |
| 218 | |
| 219 | public Object set(Object val){ |
| 220 | validate(getValidator(), val); |
| 221 | TBox b = getThreadBinding(); |
| 222 | if(b != null) |
| 223 | { |
| 224 | if(Thread.currentThread() != b.thread) |
| 225 | throw new IllegalStateException(String.format("Can't set!: %s from non-binding thread", sym)); |
| 226 | return (b.val = val); |
| 227 | } |
| 228 | throw new IllegalStateException(String.format("Can't change/establish root binding of: %s with set", sym)); |
| 229 | } |
| 230 | |
| 231 | public Object doSet(Object val) { |
| 232 | return set(val); |
no test coverage detected