public boolean contains(E target) {
		DoubleLinkedListElement tmp = head;
		for (int i = 0; i < size(); i++) {
			if(tmp!=null && tmp.data.equals(target)) return true;
			tmp = tmp.nextElement;
		}
		return false;
	}