From: bdemsky Date: Fri, 10 Apr 2009 06:16:02 +0000 (+0000) Subject: somehow we gained two implementations of some methods...this of course caused some... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9d9eabfb01ca75986fcc75ff65396b03bbe43cf3;p=IRC.git somehow we gained two implementations of some methods...this of course caused some problems --- diff --git a/Robust/src/ClassLibrary/Vector.java b/Robust/src/ClassLibrary/Vector.java index cba46587..9ae2baf7 100644 --- a/Robust/src/ClassLibrary/Vector.java +++ b/Robust/src/ClassLibrary/Vector.java @@ -114,19 +114,6 @@ public class Vector { array[index] = obj; } - public void remove(Object o) { - int getIndex; - for(int i=0; i=size) { System.printString("Illegal Vector.removeElementAt\n"); @@ -144,12 +131,4 @@ public class Vector { removeElementAt(0); } } - - public boolean contains(Object o) { - for(int i = 0; i < size; i++) { - if(o.equals(array[i])) - return true; - } - return false; - } }