class LinkedListIndexedCollection extends Collection {

	public int indexOf(Object value) {
		if (value == null) {
			return VALUE_NOT_FOUND_RETURN_VALUE;
		}

		int index = 0;
		ListNode current;

		for (current = first; current != null && !value.equals(current.value); current = current.next) {
			++index;
		}

		if (current == null || !value.equals(current.value)) {
			return VALUE_NOT_FOUND_RETURN_VALUE;
		}

		return index;
	}

	public  LinkedListIndexedCollection();
	public  LinkedListIndexedCollection(Collection other);

}