How should I understand this java class syntax? What are must following rules when extending AbstractA
?
public abstract class AbstractA<I extends AbstractB> extends AbstractC<I>{}
The following are my understandings:
Assume "A" is subclass of AbstractA
, "B" is subclass of AbstractB
.
AbstractA
has class holderI
.A extends AbstractA<I>
, whereI
could beAbstractB
itself, or abstract class B, or regular B.- Both A and I placeholder is also children of
AbstractC
.
Am I missing anything?