summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2006-05-31 17:08:06 +0000
committerRich Hickey <richhickey@gmail.com>2006-05-31 17:08:06 +0000
commitaaf41d731cc4baa7693cae8d09814a00cd0e6255 (patch)
tree421312d2c0bae0e43432535b2d0f1cda2b5b1e39 /src/cli
parent57162d9fc2d5f78518b20aa49d4843d9de2c1b3e (diff)
renamed AMap to Obj
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/runtime/AFn.cs2
-rw-r--r--src/cli/runtime/Cons.cs2
-rw-r--r--src/cli/runtime/Keyword.cs2
-rw-r--r--src/cli/runtime/Obj.cs (renamed from src/cli/runtime/AMap.cs)2
-rw-r--r--src/cli/runtime/Symbol.cs2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/cli/runtime/AFn.cs b/src/cli/runtime/AFn.cs
index 193f4387..ceaec67d 100644
--- a/src/cli/runtime/AFn.cs
+++ b/src/cli/runtime/AFn.cs
@@ -15,7 +15,7 @@ using System;
namespace org.clojure.runtime
{
-public class AFn : AMap , IFn
+public class AFn : Obj , IFn
{
virtual public Object invoke(ThreadLocalData tld) /*throws Exception*/
diff --git a/src/cli/runtime/Cons.cs b/src/cli/runtime/Cons.cs
index 02e20202..e097aafb 100644
--- a/src/cli/runtime/Cons.cs
+++ b/src/cli/runtime/Cons.cs
@@ -15,7 +15,7 @@ using System;
namespace org.clojure.runtime
{
-public class Cons : AMap,Iter
+public class Cons : Obj,Iter
{
public readonly Object first;
diff --git a/src/cli/runtime/Keyword.cs b/src/cli/runtime/Keyword.cs
index 2250d097..f0c6a150 100644
--- a/src/cli/runtime/Keyword.cs
+++ b/src/cli/runtime/Keyword.cs
@@ -24,7 +24,7 @@ internal Keyword(String name):base(name) { } public Object invoke(ThreadLocal
} /** * Indexer implements IFn for attr access * This single arg version is the getter * @param tld * @param obj - must be AMap * @return the value of the attr or nil if not found */ public Object invoke(ThreadLocalData tld, Object obj) /*throws Exception*/ {
if (obj == null)
return null;
- return ((AMap)obj).get(this); } /** * Indexer implements IFn for attr access * This two arg version is the setter * @param tld * @param obj - must be AMap * @param val * @return val */ public Object invoke(ThreadLocalData tld, Object obj, Object val) /*throws Exception*/ { return ((AMap)obj).put(this,val); }
+ return ((Obj)obj).get(this); } /** * Indexer implements IFn for attr access * This two arg version is the setter * @param tld * @param obj - must be AMap * @param val * @return val */ public Object invoke(ThreadLocalData tld, Object obj, Object val) /*throws Exception*/ { return ((Obj)obj).put(this,val); }
public Object invoke(ThreadLocalData tld, Object arg1, Object arg2, Object arg3) /*throws Exception*/
{
diff --git a/src/cli/runtime/AMap.cs b/src/cli/runtime/Obj.cs
index a34e1560..7058ebe3 100644
--- a/src/cli/runtime/AMap.cs
+++ b/src/cli/runtime/Obj.cs
@@ -16,7 +16,7 @@ using System.Collections.Specialized;
namespace org.clojure.runtime
{
-public class AMap
+public class Obj
{
HybridDictionary attrs;
diff --git a/src/cli/runtime/Symbol.cs b/src/cli/runtime/Symbol.cs
index af7465f7..9b976153 100644
--- a/src/cli/runtime/Symbol.cs
+++ b/src/cli/runtime/Symbol.cs
@@ -15,7 +15,7 @@ using System.Collections;
namespace org.clojure.runtime
{
-public class Symbol : AMap, IComparable{
+public class Symbol : Obj, IComparable{
static public readonly Hashtable table = new Hashtable(1001);
static public readonly Hashtable hashes = new Hashtable(1001);