public List<BNode> removeNodes(Collection<String> valueNodeIds){
  List<BNode> removed=new ArrayList<BNode>();
  for (  String id : new ArrayList<String>(valueNodeIds)) {
    BNode n=removeNode(id);
    removed.add(n);
  }
  return removed;
}

public List < BNode > removeNodes ( Collection < String > valueNodeIds ) { List < BNode > removed = new ArrayList < BNode > ( ) ; for ( String id : new ArrayList < String > ( valueNodeIds ) ) { BNode n = removeNode ( id ) ; removed . add ( n ) ; } return removed ; }
remove all the specified nodes
