/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ch.wlkl.processor;
/**
*
* @author walter
*/
public class GateNot extends Gate {
Gate in;
public GateNot(Gate i) {
in = i;
i.addOut(this);
update();
}
public void update() {
set(! in.get());
}
}