3 ms·This is known as F-bounded polymorphism if you are interested in knowing more about this approach.by jroesch 13y agoThis is known as F-bounded polymorphism if you are interested in knowing more about this approach.