I'm reading about wildcard and I'm a little confused.I don't really understand why the ifPresent method needs ? super T .
public void ifPresent(Consumer<? super T> consumer)
Why doesn't just T work?
I've read about PECS and it's clear how it works for class methods, for example,but why is it here in the interface, I'll be glad to help.