From 9d9eabfb01ca75986fcc75ff65396b03bbe43cf3 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 10 Apr 2009 06:16:02 +0000 Subject: [PATCH] somehow we gained two implementations of some methods...this of course caused some problems --- Robust/src/ClassLibrary/Vector.java | 21 --------------------- 1 file changed, 21 deletions(-) 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; - } } -- 2.34.1