I have following class hierarchy:
class BaseList {}
class SortableList extends BaseList {}
class EditableList extends BaseList {}
class EditableSortableList extends [Sotrable and Editable]
So I'd like to inherit/produce/mix somehow Sotrable and Editable classes into EditableSortableList, the question is how?
here is similar problem solved with interfaces, but interfaces do not solve code duplication issue I'm trying to solve building this hierarchy.
Any help is highly appreciated!