I have the following abstract class.
abstract class AbstractSome implements Interface1, Interface2 {
}
Now I want to extend this class using the delegate that implements Interface2.
class ????Some extends AbstractSome {
public ????Some(final Interface2 delegate) {
this.delegate = delegate;
}
@Override
public void doSomething() {
delegate.doSomething();
}
private final Interface2 delegate;
}
Is there any good naming-conventionfor this encompassing class?
Is it Delegating...or is it Default...good?
source
share