int maxInputs = 1 << select.length();
if (this.outputs.length > maxInputs)
throw new IllegalArgumentException("There are more outputs (" + this.outputs.length + ") to the DEMUX than supported by "
+ select.length() + " select bits (" + maxInputs + ").");
int maxInputs = 1 << select.length();
if (this.outputs.length > maxInputs)
throw new IllegalArgumentException("There are more outputs (" + this.outputs.length + ") to the DEMUX than supported by "
+ select.length() + " select bits (" + maxInputs + ").");