On 5/10/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
and i don't like that
that is mixing 2 classes as once thing
that means no reuse what so ever. This just makes big copy paste actions.

it should be possible to seperate IValidator and IBehavior implementations
else if i want to use an IValidator i have to reimplement it
yes ofcourse i can make my behavior implement also IValidator
and then passthrough everything of the IValidtor to the real validator that
is again a delegate.

we just don't have multiply inheritance in java..
Thank God we don't have multiple inheritance...

Since these interfaces are so thin, creating a class that implements
both interfaces and delgates to separate implementation classes should
be pretty light weight.

Reply via email to