Returns true if one of the following conditions is satisfied:
o1 and o2 are both null
o1 and o2 are not null and the invocation of the equals method on o1 with o2 as argument returns true
In case of a list addition the index indicates the value that would be returned by
a call to the ListIterator.nextIndex() when the element is inserted
in the list.