mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-11-19 12:53:47 +00:00
Update 设计模式 - 桥接.md
调整 AWT 中 peer 接口与各平台实现的说明。
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ Sony.tuneChannel()
|
||||
```
|
||||
|
||||
### JDK 中的应用
|
||||
- AWT:组件类是抽象,java.awt.peer 中与平台相关的 peer 是实现,把窗口功能映射到不同的操作系统;
|
||||
- AWT:组件类是抽象,java.awt.peer 中的 peer 接口是实现部分的接口,各平台的 peer 类(例如 sun.awt.windows 中的)是具体实现,把窗口功能映射到不同的操作系统;
|
||||
- JDBC:应用面向 JDBC 接口编程,各数据库厂商的驱动是实现。
|
||||
|
||||
## 参考资料
|
||||
|
||||
Reference in New Issue
Block a user