I want to create a generic method which takes a single parameter of supertype of single type by using super keyword.Is there any way to do so?
I want to do something like this, which is a s very basic requirement.Can somebody please provide me a roundabout since compiler doesnt allow me to define type using lowerbound(super)
public <T super LinkedHashSet> void check(T t){
}