X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2Fcomponents%2Fgates%2FXorGate.java;h=2532c9fe32a5c3226ad4be911abff49010bfea9f;hb=74aebd92f41d03f4a44c9a455ef8c05465136412;hp=c20af6f2cb5411648ed413ee2433c80c8ae27233;hpb=de79184d60c80d6775b368e61d3368de032952e8;p=Mograsim.git diff --git a/era.mi/src/era/mi/logic/components/gates/XorGate.java b/era.mi/src/era/mi/logic/components/gates/XorGate.java index c20af6f2..2532c9fe 100644 --- a/era.mi/src/era/mi/logic/components/gates/XorGate.java +++ b/era.mi/src/era/mi/logic/components/gates/XorGate.java @@ -5,12 +5,11 @@ import era.mi.logic.wires.WireArray; /** * Outputs 1 when the number of 1 inputs is odd. + * * @author Fabian Stemmler */ -public class XorGate extends MultiInputGate -{ - public XorGate(int processTime, WireArray out, WireArray... in) - { +public class XorGate extends MultiInputGate { + public XorGate(int processTime, WireArray out, WireArray... in) { super(processTime, Util::xor, out, in); }