Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp) v1.0

...

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) and remove(int). Prior to release 1.5 when it was "generified", the List interface had a remove(Object) method in place of remove(E), and the corresponding parameter types, Object and int, 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

...