组合模式
2023
组合模式
·236 字·2 分钟·
loading
设计模式
设计模式
组合模式
组合模式是一种结构型设计模式, 你可以使用它将对象组合成树状结构, 并且能像使用独立对象一样使用它们。