私はそのようなデザインを持っています:
public interface MyInterface {
public abstract List<Sth> getSth();
}
public class MyConcreteImplementation implements MyInterface {
private ConcreteSth mSth = new ConcreteSth();
public List<Sth> getSth(){
return mSth.getSth(additionalParams);
}
}
上記のコードの目的は、他のクラスから呼び出される統一された方法を提供することです。
これはパターンと言えるでしょうか?その場合、どのように名前を付けますか?