diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-06-11 21:17:18 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-06-11 21:17:18 +0000 |
commit | f127034f649276cb1bcde4fea50e6be4637dd5d0 (patch) | |
tree | fb072f8eb0ff9a08c22e072188bf3a33d8ab3bf7 /src/cli/runtime/TObj.cs | |
parent | 01820bfb5829d8be3bdafdf8fae8046f339a0949 (diff) |
renamed get,set et al
Diffstat (limited to 'src/cli/runtime/TObj.cs')
-rw-r--r-- | src/cli/runtime/TObj.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cli/runtime/TObj.cs b/src/cli/runtime/TObj.cs index dcee3060..37c38b83 100644 --- a/src/cli/runtime/TObj.cs +++ b/src/cli/runtime/TObj.cs @@ -22,30 +22,30 @@ public TObj(){ public Object put( Object key, Object val) {
- IPersistentMap t = (IPersistentMap) Transaction.get2( _attrs);
+ IPersistentMap t = (IPersistentMap) Transaction.get( _attrs);
t = t.put(key, val);
- Transaction.set2(_attrs,t);
+ Transaction.set(_attrs,t);
return val;
}
public Object get( Object key) {
- IPersistentMap t = (IPersistentMap) Transaction.get2( _attrs);
+ IPersistentMap t = (IPersistentMap) Transaction.get( _attrs);
return t.get(key);
}
public bool has( Object key) {
- IPersistentMap t = (IPersistentMap) Transaction.get2( _attrs);
+ IPersistentMap t = (IPersistentMap) Transaction.get( _attrs);
return t.contains(key);
}
public IPersistentMap attrs() {
- return (IPersistentMap) Transaction.get2(_attrs);
+ return (IPersistentMap) Transaction.get(_attrs);
}
public void remove(Object key) {
- IPersistentMap t = (IPersistentMap) Transaction.get2( _attrs);
+ IPersistentMap t = (IPersistentMap) Transaction.get( _attrs);
t = t.remove(key);
- Transaction.set2(_attrs,t);
+ Transaction.set(_attrs,t);
}
}
}
|