Mercurial > projects > dwt-addons
changeset 107:ffa785dc65e5
Removed unneeded code
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 07 Aug 2008 16:39:43 +0200 |
parents | 8ab6fb387666 |
children | d79c6b934729 |
files | dwtx/dwtxhelper/JHashMap.d |
diffstat | 1 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtx/dwtxhelper/JHashMap.d Thu Aug 07 16:03:56 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -module dwtx.dwtxhelper.JHashMap; - -import tango.util.collection.HashMap; -import tango.core.Traits; - -class JHashMapT(K,V) : HashMap!(K,V) { - this(){ - super(); - } - - static if( is(V==class) || is(V==interface) || isDynamicArrayType!(V) ){ - public V find( K key ){ - if( containsKey(key) ){ - return get(key); - } - return null; - } - } -} - -alias JHashMapT!(Object,Object) JHashMap;