import era.mi.logic.wires.WireArrayObserver;\r
\r
public class Connector implements WireArrayObserver\r
{\r
private final WireArray a;\r
import era.mi.logic.wires.WireArrayObserver;\r
\r
public class Connector implements WireArrayObserver\r
{\r
private final WireArray a;\r
- private final WireArray b;\r
- private final WireArrayInput aI;\r
- private final WireArrayInput bI;\r
+// private final WireArray b;\r
+ private final WireArrayEnd aI;\r
+ private final WireArrayEnd bI;\r
\r
public Connector(WireArray a, WireArray b)\r
{\r
if (a.length != b.length)\r
\r
public Connector(WireArray a, WireArray b)\r
{\r
if (a.length != b.length)\r
- throw new IllegalArgumentException("WireArray width does not match: " + a.length + ", " + b.length);\r
+ throw new IllegalArgumentException(String.format("WireArray width does not match: %d, %d", a.length, b.length));\r