diff options
Diffstat (limited to 'src/cli/runtime/PersistentArrayIdentityMap.cs')
-rw-r--r-- | src/cli/runtime/PersistentArrayIdentityMap.cs | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/cli/runtime/PersistentArrayIdentityMap.cs b/src/cli/runtime/PersistentArrayIdentityMap.cs deleted file mode 100644 index 93fe2a15..00000000 --- a/src/cli/runtime/PersistentArrayIdentityMap.cs +++ /dev/null @@ -1,50 +0,0 @@ -/**
- * Copyright (c) Rich Hickey. All rights reserved.
- * The use and distribution terms for this software are covered by the
- * Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
- * which can be found in the file CPL.TXT at the root of this distribution.
- * By using this software in any fashion, you are agreeing to be bound by
- * the terms of this license.
- * You must not remove this notice, or any other, from this software.
- **/
-
-using System;
- -namespace clojure.lang
-{
-/**
- * ArrayMap using identity (==) comparison instead of equals
- */
-public class PersistentArrayIdentityMap : PersistentArrayMap {
-
-new public static PersistentArrayIdentityMap EMPTY = new PersistentArrayIdentityMap();
-
-override public IPersistentMap empty() {
- return EMPTY;
-}
-
-PersistentArrayIdentityMap() {
-}
-
-override internal PersistentArrayMap create(params Object[] init)
- {
- PersistentArrayIdentityMap ret = new PersistentArrayIdentityMap(init);
- ret._meta = _meta;
- return ret;
- }
-
-override internal IPersistentMap createHT(Object[] init){
- PersistentHashtableIdentityMap ret = new PersistentHashtableIdentityMap(init);
- ret._meta = _meta;
- return ret;
-}
-
-public PersistentArrayIdentityMap(params Object[] init) :base(init) {
-}
-
-internal override bool equalKey(Object k1, Object k2) {
- return k1 == k2;
-}
-}
-
-}
\ No newline at end of file |