public Vector toVector() {
		Vector vec = new Vector(last.getIndex() + 1);
		LinkedElement<E> elem = first;
		for (int i = 0; i <= last.getIndex(); i++) {
			vec.addElement(elem);
			elem = elem.getNext();
		}
		return vec;
	}