I have interface
interface IAdaptor<T, K>
{
// ...
}
And I have realisation
class AdaptorImpl imlements IAdaptor<SomeClass1, SomeClass1>
{
// ...
}
Can I use children insted of SomeClass1?
something like class AdaptorImpl imlements IAdaptor<T extends SomeClass1, SomeClass1>
I assume, that you mean
I am not sure, what you mean by “children”, though. Of course, you can do: