All Questions
Tagged with generics multiple-inheritance
2 questions
0
votes
3
answers
2k
views
Multi inheritance in Java
Let's say I've got a generic java class Filter<InputType, OutputType> which receives an input object and transforms it to an output object.
Now I've got two other classes (NoInputFilter<...
4
votes
1
answer
12k
views
Adding base-class (inherited) functionality to classes that you don't control
I have a set of classes from a 3rd party library. These classes use an inheritance structure to share logic. I would like to add a layer of abstraction in the middle of their inheritance tree to add ...