1 package era.mi.logic.components.gates;
5 import era.mi.logic.components.BasicComponent;
6 import era.mi.logic.wires.Wire.ReadEnd;
7 import era.mi.logic.wires.Wire.ReadWriteEnd;
9 public class NotGate extends BasicComponent
12 private ReadWriteEnd out;
14 public NotGate(int processTime, ReadEnd in, ReadWriteEnd out)
23 protected void compute()
25 out.feedSignals(in.getValues().not());
28 public ReadEnd getIn()
33 public ReadEnd getOut()
39 public List<ReadEnd> getAllInputs()
45 public List<ReadWriteEnd> getAllOutputs()