public class EnxorGate extends ExorGate { public EnxorGate(int inputnr) { super(inputnr); } public EnxorGate(DigitalInput... inputvals) { super(inputvals); } @Override public boolean getOutput() { return !super.getOutput(); } }