public void removeInputNodes(){
  for (  BNode inputNode : new LinkedList<BNode>(inputNodes.values())) {
    removeInputNode(inputNode.getId());
  }
}

public void removeInputNodes ( ) { for ( BNode inputNode : new LinkedList < BNode > ( inputNodes . values ( ) ) ) { removeInputNode ( inputNode . getId ( ) ) ; } }
removes all input nodes .
