...
| Wiki Markup |
|---|
Although the client will deduce such behavior sooner or later, other cases such as with the {{List}} interface may go unnoticed as Bloch \[[Bloch 2008|AA. Java References#BlochBibliography#Bloch 08]\] describes: |
... the
List<E>interface has two overloadings of the remove method:remove(E)andremove(int). Prior to release 1.5 when it was "generified", theListinterface had aremove(Object)method in place ofremove(E), and the corresponding parameter types,Objectandint, were radically different. But in the presence of generics and autoboxing, the two parameter types are no longer radically different.
...
| Wiki Markup |
|---|
\[[API 2006|AA. Java References#APIBibliography#API 06]\] [Interface Collection|http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html] \[[Bloch 2008|AA. Java References#BlochBibliography#Bloch 08]\] Item 41: Use overloading judiciously |
...