package vectorpkg;

/**
 * Title:
 * Description:
 * Copyright:    Copyright (c) 2002
 * Company:
 * @author
 * @version 1.0
 */

public interface Vector {

  void addElement(Object obj);
  void addElement(int pos, Object obj);
  boolean addAll(Object[] col);
  boolean addAll(int pos, Object[] col);
  int capacity();
  void clear();
  Object[] makeCopy();
  boolean contains(Object obj);
  boolean containsAll(Object[] col);
  void copyInto(Object[] objArr);
  Object elementAt(int pos);
  void ensureCapacity(int minCap);
  boolean equals(Object[] col);
  Object firstElement();
  int indexOf(Object obj);
  int indexOf(Object obj, int pos);
  boolean isEmpty();
  Object lastElement();
  int lastIndexOf(Object obj);
  int lastIndexOf(Object obj, int pos);
  boolean removeElement(Object obj);
  Object removeElementAt(int pos);
  boolean removeAll(Object[] col);
  void removeRange(int first, int last);
  boolean retainAll(Object[] col);
  Object[] subList(int first, int last);
  Object setElementAt(Object obj, int pos);
  void setSize(int sz);
  int size();
  String toString();
  void trimToSize();
}
