@Override public int getNextProtocols(NativeProtocol[] gates, int pos) { if (copyCir == null) { if (inRight.getValue()) { copyCir = copyProvider.getCopyCircuit(sboolProvider.getKnownConstantSBool(true), out); } else { copyCir = copyProvider.getCopyCircuit(inLeft, out); } } return copyCir.getNextProtocols(gates, pos); }
@Override public boolean hasNextProtocols() { return (copyCir == null || copyCir.hasNextProtocols()); }