java generic class extends interface code example
Example: i need a generic class which extends User class which implement an interface
public class SomeClass<T extends Fragment & SomeInterface>
public class SomeClass<T extends Fragment & SomeInterface>