So looking at possible solutions...

The current situation is:
  interface Foo
  class Impl implements Foo

Is it possible to do this?
  interface ExtendedFoo implements Foo
  class Impl implements ExtendedFoo

In this way, Foo doesn't change, but new code can pass objects around as
ExtendedFoo in order to access the new functionality.

[NB: I'm not actually suggesting a literal use of the prefix Extended. A
real, meaningful, name should be selected]

Alternatively how about this?
  interface NewStuff
  class Impl implements Foo, NewStuff

Regards,

Simon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to