In section 2.2; the paper justifies the need for super-bounded wildcards.
It gives one usecase for super-bounds which is in Comparator objects.
I'm not convinced by this argument. The inheritance tree is only
one level. If it were 4-5 levels deep; then it might make more sense. In this case; using an implementation of Comparator<Object> is defeating the purpose of generics which is to implement type safe code. Instead I resort to writing code like this:
What do you think? [ April 25, 2008: Message edited by: Pho Tek ]