Package hw4

Class NotGate

  • All Implemented Interfaces:
    IComponent

    public class NotGate
    extends AbstractComponent
    Implementation of a not-gate with one input.
    Author:
    smkautz
    • Constructor Detail

      • NotGate

        public NotGate()
        Constructs a NotGate with one input.
    • Method Detail

      • propagate

        public void propagate()
        Description copied from interface: IComponent
        Propagates inputs to outputs. Does nothing if not all inputs are valid.