Examples of OrGateAction


Examples of net.javajigi.adder.action.OrGateAction

 
  public void halfAdder(Wire input1, Wire input2, Wire sum, Wire carry) {
    Wire i = new Wire();
    Wire j = new Wire();
   
    Action orGate = new OrGateAction(input1, input2, i, this);
    orGate.action();
   
    Action andGate1 =  new AndGateAction(input1, input2, carry, this);
    andGate1.action();
   
    Action inverter = new InverterAction(carry, j, this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.