posted 22 years ago
If i need to write my own Collection class implementing BC interface and having functionality and efficiency as much equivalent as possible to the java.lang.Vector...so what can i do???
public interface BC {
void add(int index,Object element);
boolean add(Object o);
int capacity();
int size();
void clear();
Object elementAt(int index);
Object firstElement();
Object lastElement();
Object remove(int index);
boolean remove(Object o);
}