摘要:
public class WrapperTest { public static void main(String[] args) { /** 拍照 */// Componnet conCreateComponnet = new ConCreateComponnet();// conCreateCo 阅读全文
posted @ 2022-02-25 15:00
剑阁丶神灯
阅读(23)
评论(0)
推荐(0)
摘要:
public class PageUtil { private PageUtil() { // 工具类私有构造方法 } /** * 内存分页 * * @param page * @param pageSize * @param filterDtoList * @param <T> * @return 阅读全文
posted @ 2022-02-25 13:35
剑阁丶神灯
阅读(218)
评论(0)
推荐(0)
摘要:
/** * 建造者 */public abstract class Builder { // 地基 public abstract void buildA(); // 钢筋工程 public abstract void buildB(); // 粉刷 public abstract void bui 阅读全文
posted @ 2022-02-25 13:34
剑阁丶神灯
阅读(36)
评论(0)
推荐(0)
摘要:
******************************************正确写法******************************************************package com.example.SpringBootTest1.shejimoshi.sin 阅读全文
posted @ 2022-02-25 13:34
剑阁丶神灯
阅读(51)
评论(0)
推荐(0)
摘要:
// *****************************现象描述******************************* package com.example.SpringBootTest1.shejimoshi.singleton;public class InnerclassSi 阅读全文
posted @ 2022-02-25 13:33
剑阁丶神灯
阅读(81)
评论(0)
推荐(0)
摘要:
public enum EnumSingleton { INSTANCE;} public class Test { public static void main(String[] args) { EnumSingleton instance1 = EnumSingleton.INSTANCE; 阅读全文
posted @ 2022-02-25 13:33
剑阁丶神灯
阅读(12)
评论(0)
推荐(0)
摘要:
/** * 建造者 */public abstract class Builder { public abstract Builder buildA(String s); public abstract Builder buildB(String s); public abstract Builde 阅读全文
posted @ 2022-02-25 13:33
剑阁丶神灯
阅读(34)
评论(0)
推荐(0)
摘要:
对象适配器模式(组合模式) public class AdapterTest { public static void main(String[] args) { Target target = new Adapter(new Adaptee()); target.output5v(); }}cla 阅读全文
posted @ 2022-02-25 11:15
剑阁丶神灯
阅读(27)
评论(0)
推荐(0)

浙公网安备 33010602011771号