/* $Id$ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in th…
Inventory Management 源代码
汇集 Inventory Management 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
package com.javapatterns.visitor.inventory; public class Case extends Equipment { public double price() { ret…
package com.javapatterns.visitor.inventory; public class Pc extends Composite { public Pc() { super.add(new…
package com.javapatterns.visitor.inventory; public class IntegratedBoard extends Composite { public IntegratedBoard() …
package com.javapatterns.visitor.inventory; abstract class Equipment { public abstract void accept(Visitor vis); pu…
package com.javapatterns.visitor.inventory; public abstract class Visitor { public abstract void visitCase(Case e); publ…
package com.javapatterns.visitor.inventory; public class MainBoard extends Equipment { public double price() { …
package com.javapatterns.visitor.inventory; public class HardDisk extends Equipment { public double price() { …
package com.javapatterns.visitor.inventory; public class Cpu extends Equipment { public double price() { retur…
/* * Support the inventory interface for IRIX binaries * This is invoked before the mm layer is working, so we do not * use the…