接口适配器模式

package com.life.design.adaper.interfaceadapter;

public interface Interface4 {
    public void m1();
    public void m2();
    public void m3();
    public void m4();
}
package com.life.design.adaper.interfaceadapter;

public abstract class AbsAdapter implements Interface4 {

    public void m1() {

    }

    public void m2() {

    }

    public void m3() {

    }

    public void m4() {

    }
}

 

posted on 2022-04-19 20:36  金满仓  阅读(25)  评论(0编辑  收藏  举报

导航