A java generics acronym for "Producer (uses) Extends, Consumer (uses) Super"
A good design pattern to follow when specifying java generic parameters is that the producers of objects specify their parameters as <T extends Something>
, while the consumers of those same objects specify their parameters as <T super Something>
.
See What is PECS (Producer Extends Consumer Super)? for more.