For example, using it when using a generic Comparator - Comparator<? super T> c
I understand that it basically means that the Comparator will compare T and its super classes, I don't however understand the logic behind it.
Why not use "? extends T
" ?
Or, for example, I have found a similar question of someone who asked about "List<? super Number>
" - does it mean that the list is gonna receive Number objects and its super classes? but Number's superclass is Object, does that mean the list can receive any Object?