changes to MGC classlibrary
authorjzhou <jzhou>
Fri, 20 Jan 2012 01:54:03 +0000 (01:54 +0000)
committerjzhou <jzhou>
Fri, 20 Jan 2012 01:54:03 +0000 (01:54 +0000)
Robust/src/ClassLibrary/MGC/HashMapIterator.java
Robust/src/ClassLibrary/MGC/Vector.java
Robust/src/ClassLibrary/MGC/gnu/Collections.java
Robust/src/ClassLibrary/MGC/gnu/LinkedList.java
Robust/src/ClassLibrary/MGC/gnu/Properties.java
Robust/src/ClassLibrary/MGC/gnu/ReentrantLock.java

index e8f7a7bf008431b9686f37be5733c291ef305828..9996a8e1c5a20fdda93d7ad3eec7460db7fe3747 100644 (file)
@@ -45,7 +45,7 @@ class HashMapIterator implements Iterator {
   }
 
   public void remove() {
-    System.out.println("HashMapIterator.remove() not implemented.");
+    System.out.println("Unimplemented HashMapIterator.remove()!");
     System.exit(-1);
   }
 }
index 5d729f2c127f7cfaed9a03dc3a474f0ea6e4bb52..1cd11dd57b02ba5c67751a896539d58f85d49b14 100644 (file)
@@ -100,7 +100,7 @@ public class Vector implements Set {
   }
 
   public Enumeration elements() {
-    System.printString("Vector.elements not implemented\n");
+    System.printString("Unimplemented Vector.elements()!\n");
     System.exit(-1);
   }
 
index a51c160a5aacfa8361a659ea4d831de1c78331b6..52c91b4c44310c3a5294230fc165f7f8ce2d6de0 100644 (file)
@@ -95,7 +95,7 @@ public class Collections
        i.set(a[pos]);
       }*/
     //TODO 
-    System.println("Collections.sort() invoked");
+    System.println("Unimplemented Collections.sort() invoked");
   }
   
   public static  void sort(List l, Comparator c)
@@ -109,7 +109,7 @@ public class Collections
        i.set(a[pos]);
       }*/
 //    TODO 
-      System.println("Collections.sort(l, c) invoked");
+      System.println("Unimplemented Collections.sort(l, c) invoked");
   }
 
   
index efbcfe930fdb8fda42c54f71bb7352a1e798ddd5..5ad8b51e05e26481e0f3f3f40056a907566b7f7d 100644 (file)
@@ -64,7 +64,7 @@ public class LinkedList implements Queue {
   }
 
   public Object clone() {
-    System.out.println("LinkedList.clone() not implemented.");
+    System.out.println("Unimplemented LinkedList.clone()!");
     System.exit(-1);
   }
 
index 7dc2d4b0df68fc1a9e57a3e61bb6fa2a98aab1b1..cfbcfdea05a5d413e8aeb885fac49496d83470d0 100644 (file)
@@ -359,7 +359,7 @@ label   = Name:\\u0020</pre>
   public void load(InputStream inStream) throws IOException
   {
     //load(new InputStreamReader(inStream, "ISO-8859-1"));
-    //TODO System.println("Properties.load(InputStream) invoked");
+    System.println("Unimplemented Properties.load(InputStream) invoked");
   }
 
   /**
@@ -434,7 +434,7 @@ label   = Name:\\u0020</pre>
       }
 
     writer.flush ();*/
-    System.println("Properties.store() invoked");
+    System.println("Unimplemented Properties.store() invoked");
   }
 
   /**
index b68882fa227191f6425bc4014507880fe9151cd7..d5914b5703e5c23b97564eb037fc04ee431ef56e 100644 (file)
@@ -309,7 +309,7 @@ public class ReentrantLock implements /*Lock, java.io.*/Serializable {
      * @throws InterruptedException if the current thread is interrupted
      */
     public void lockInterruptibly() throws InterruptedException {
-       System.out.println("ReentrantLock.lockInterruptibly() is not supported!");
+       System.out.println("Unimplemented ReentrantLock.lockInterruptibly()!");
         //sync.acquireInterruptibly(1);
     }