It isn't a problem if you design an API by following the rules (PECS). Use wildcards for method parameters when this is the desired behavior. It is not hard to do things right.
https://howtodoinjava.com/java/generics/java-generics-what-i...
https://howtodoinjava.com/java/generics/java-generics-what-i...
No comments yet.