if (output.length() != 1)\r
throw new IllegalArgumentException("Switch output can be only a single wire");\r
this.output = output;\r
if (output.length() != 1)\r
throw new IllegalArgumentException("Switch output can be only a single wire");\r
this.output = output;\r