⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 engineer.java~2~

📁 《深入浅出设计模式》的完整源代码
💻 JAVA~2~
字号:
package checkcar;public class engineer implements Visitor {  public void visit(Wheel wheel) {    System.out.println("检查"+wheel.getName());   }  public void visit(Engine engine) {    /**@todo Implement this checkcar.Visitor method*/    throw new java.lang.UnsupportedOperationException("Method visit() not yet implemented.");  }  public void visit(Body body) {    /**@todo Implement this checkcar.Visitor method*/    throw new java.lang.UnsupportedOperationException("Method visit() not yet implemented.");  }  public void visit(Car car) {    /**@todo Implement this checkcar.Visitor method*/    throw new java.lang.UnsupportedOperationException("Method visit() not yet implemented.");  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -