public Iterator<Resource> resourceIterator(){
  return resourceList.iterator();
}

public Iterator < Resource > resourceIterator ( ) { return resourceList . iterator ( ) ; }
get an iterator over all resources in the method . this includes both preexisting and created resources .
