Mercurial > projects > dwt-addons
diff dwtx/dwtxhelper/Collection.d @ 119:35f1d208f3c3
Collection impl
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 08 Aug 2008 19:28:39 +0200 |
parents | 1c497c6c0ad8 |
children | c0304616ea23 |
line wrap: on
line diff
--- a/dwtx/dwtxhelper/Collection.d Fri Aug 08 19:28:08 2008 +0200 +++ b/dwtx/dwtxhelper/Collection.d Fri Aug 08 19:28:39 2008 +0200 @@ -8,6 +8,7 @@ static import tango.util.container.HashSet; static import tango.util.container.SortedMap; static import tango.util.container.more.Vector; +static import tango.core.Array; // class AListIterator { // @@ -1884,8 +1885,7 @@ return res; } bool remove(Object o){ - implMissing( __FILE__, __LINE__ ); - return false; + return tango.core.Array.remove(data, o) !is 0; } public bool remove(String key){ return remove(stringcast(key));