Why do we have contains(Object o) instead of contains(E e)?
- by Vivin Paliath
Is it to maintain backwards compatibility with older (un-genericized) versions of Collection? Or is there a more subtle detail that I am missing? I see this pattern repeated in remove also (remove(Object o)), but add is genericized as add(E e).