diff base/src/java/util/AbstractCollection.d @ 84:fcf926c91ca4

Added base classes
author Frank Benoit <benoit@tionex.de>
date Sat, 18 Apr 2009 09:25:29 +0200
parents 1bf55a6eb092
children
line wrap: on
line diff
--- a/base/src/java/util/AbstractCollection.d	Tue Apr 14 13:22:56 2009 +0200
+++ b/base/src/java/util/AbstractCollection.d	Sat Apr 18 09:25:29 2009 +0200
@@ -43,8 +43,7 @@
         return 0;
     }
     bool        remove(Object o){
-        implMissing( __FILE__, __LINE__ );
-        return false;
+        throw new UnsupportedOperationException();
     }
     bool        remove(String o){
         return remove(stringcast(o));
@@ -70,6 +69,10 @@
         implMissing( __FILE__, __LINE__ );
         return null;
     }
+    String[]       toArray(String[] a){
+        implMissing( __FILE__, __LINE__ );
+        return null;
+    }
     String         toString(){
         implMissing( __FILE__, __LINE__ );
         return null;