4. 接上回的Adapter Pattern
4.2 何时使用Adapter Pattern?
When to use?
- We need to use an existing class BUT it’s interface doesn’t correspond to what needed
- We need to use an existing class together with other classes but there is no compatible interfaces in between