}
@Override
public Set<ChannelID> getOutputChannelIDsOfGate(final GateID gateID) {
OutputGate outputGate = null;
final Iterator<OutputGate> gateIterator = this.outputGates.iterator();
while (gateIterator.hasNext()) {
final OutputGate candidateGate = gateIterator.next();
if (candidateGate.getGateID().equals(gateID)) {
outputGate = candidateGate;
break;
}
}