class SizeLimitedVector extends java.util.Vector {

	public void setMaxSize(int maxSize) {
		this.maxSize=maxSize;
		if (this.size()>0){
			while (size()>maxSize) removeElementAt(0);
		}
		
	}

	public  SizeLimitedVector();
	public  SizeLimitedVector(int maxSize);

}