Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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<...
Obenland's user avatar
  • 201
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 ...
Jesse Webb's user avatar