summaryrefslogtreecommitdiff
path: root/src/cli/runtime/PersistentArrayIdentityMap.cs
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2006-06-10 17:40:26 +0000
committerRich Hickey <richhickey@gmail.com>2006-06-10 17:40:26 +0000
commit37ac3ad43d5dd08fddcbe701c82d3f28ac8f6261 (patch)
tree2733d105257b64b2cee5a1890276cc47d0d4c84a /src/cli/runtime/PersistentArrayIdentityMap.cs
parent18278e3602831bb711ef1c69b92466c4e9f485ec (diff)
added PersistentArrayMap.EMPTY, exception decls
Diffstat (limited to 'src/cli/runtime/PersistentArrayIdentityMap.cs')
-rw-r--r--src/cli/runtime/PersistentArrayIdentityMap.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cli/runtime/PersistentArrayIdentityMap.cs b/src/cli/runtime/PersistentArrayIdentityMap.cs
index b6cc57bc..232a143a 100644
--- a/src/cli/runtime/PersistentArrayIdentityMap.cs
+++ b/src/cli/runtime/PersistentArrayIdentityMap.cs
@@ -16,7 +16,14 @@ namespace org.clojure.runtime
* ArrayMap using identity (==) comparison instead of equals
*/
public class PersistentArrayIdentityMap : PersistentArrayMap {
-public PersistentArrayIdentityMap() {
+
+new public static PersistentArrayIdentityMap EMPTY = new PersistentArrayIdentityMap();
+
+override public IPersistentMap empty() {
+ return EMPTY;
+}
+
+PersistentArrayIdentityMap() {
}
public PersistentArrayIdentityMap(Object[] init) :base(init) {