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 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; }