public Collection hasSourceCodeFiles(Collection sourceCodeFilesToCheck) {
   Vector v = new Vector();
   for (Iterator en = sourceCodeFilesToCheck.iterator(); en.hasNext(); ) {
     IJavaSourceFile elt = (IJavaSourceFile) en.next();
     v.addElement(new Boolean(hasSourceCodeFile(elt)));
   }
   return v;
 }
 public Collection hasRepositoryLocations(Collection repositoryLocationsToCheck) {
   Vector v = new Vector();
   for (Iterator en = repositoryLocationsToCheck.iterator(); en.hasNext(); ) {
     IRepositoryLocation elt = (IRepositoryLocation) en.next();
     v.addElement(new Boolean(hasRepositoryLocation(elt)));
   }
   return v;
 }
 public boolean hasAllRepositoryLocations(Collection repositoryLocationsToCheck) {
   for (Iterator en = repositoryLocationsToCheck.iterator(); en.hasNext(); ) {
     IRepositoryLocation elt = (IRepositoryLocation) en.next();
     if (!hasRepositoryLocation(elt)) {
       return false;
     }
   }
   return true;
 }
 public boolean hasAllSourceCodeFiles(Collection sourceCodeFilesToCheck) {
   for (Iterator en = sourceCodeFilesToCheck.iterator(); en.hasNext(); ) {
     IJavaSourceFile elt = (IJavaSourceFile) en.next();
     if (!hasSourceCodeFile(elt)) {
       return false;
     }
   }
   return true;
 }
  public boolean hasRepositoryLocation(IRepositoryLocation repositoryLocationToCheck) {
    Collection c = getAllRepositoryLocations();

    for (Iterator en = c.iterator(); en.hasNext(); ) {
      IRepositoryLocation elt = (IRepositoryLocation) en.next();
      if (elt.isEquivalent(repositoryLocationToCheck)) {
        return true;
      }
    }
    return false;
  }
  public boolean hasSourceCodeFile(IJavaSourceFile sourceCodeFileToCheck) {
    Collection c = getAllSourceCodeFiles();

    for (Iterator en = c.iterator(); en.hasNext(); ) {
      IJavaSourceFile elt = (IJavaSourceFile) en.next();
      if (elt.isEquivalent(sourceCodeFileToCheck)) {
        return true;
      }
    }
    return false;
  }
 public void removeRepositoryLocations(Collection repositoryLocations) {
   for (Iterator en = repositoryLocations.iterator(); en.hasNext(); ) {
     IRepositoryLocation elt = (IRepositoryLocation) en.next();
     removeRepositoryLocation(elt);
   }
 }
 public void removeSourceCodeFiles(Collection sourceCodeFiles) {
   for (Iterator en = sourceCodeFiles.iterator(); en.hasNext(); ) {
     IJavaSourceFile elt = (IJavaSourceFile) en.next();
     removeSourceCodeFile(elt);
   }
 }