From 96bba60242bb80342b7a424496d27dfe87046844 Mon Sep 17 00:00:00 2001 From: Rich Hickey Date: Fri, 28 Jul 2006 14:42:07 +0000 Subject: removed hybrid maps --- src/cli/runtime/PersistentHybridIdentityMap.cs | 50 -------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/cli/runtime/PersistentHybridIdentityMap.cs (limited to 'src/cli/runtime/PersistentHybridIdentityMap.cs') diff --git a/src/cli/runtime/PersistentHybridIdentityMap.cs b/src/cli/runtime/PersistentHybridIdentityMap.cs deleted file mode 100644 index 2d2acdca..00000000 --- a/src/cli/runtime/PersistentHybridIdentityMap.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; -using System.Collections; - -namespace clojure.lang -{ - -public class PersistentHybridIdentityMap : PersistentHybridMap{ - -public PersistentHybridIdentityMap(Object[] init) :base(init) { -} - -public PersistentHybridIdentityMap(int initialCapacity) :base(initialCapacity) { -} - -PersistentHybridIdentityMap(IPersistentMap impl) :base(impl) { -} - -override public IPersistentMap create(IPersistentMap impl) { - return new PersistentHybridIdentityMap(impl); -} - -override public PersistentArrayMap createArrayMap(Object[] init) { - return new PersistentArrayIdentityMap(init); -} - -override internal IPersistentMap createArrayMap() { - return PersistentArrayIdentityMap.EMPTY; -} - -override internal IPersistentMap createHashtableMap(Object[] init) { - return new PersistentHashtableIdentityMap(init); -} - -override internal IPersistentMap createHashtableMap(int initialCapacity) { - return new PersistentHashtableIdentityMap(initialCapacity); -} - -} - -} -- cgit v1.2.3-70-g09d2