Home
last modified time | relevance | path

Searched refs:newAPI (Results 1 – 2 of 2) sorted by relevance

/external/jdiff/src/jdiff/
DAPIComparator.java40 public void compareAPIs(API oldAPI, API newAPI) { in compareAPIs() argument
43 newAPI_ = newAPI; in compareAPIs()
48 apiDiff.newAPIName_ = newAPI.name_; in compareAPIs()
51 Collections.sort(newAPI.packages_); in compareAPIs()
59 int idx = Collections.binarySearch(newAPI.packages_, oldPkg); in compareAPIs()
65 int existsNew = newAPI.packages_.indexOf(oldPkg); in compareAPIs()
69 … differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(existsNew))); in compareAPIs()
80 differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(idx))); in compareAPIs()
85 iter = newAPI.packages_.iterator(); in compareAPIs()
123 Long denom = new Long(oldAPI.packages_.size() + newAPI.packages_.size()); in compareAPIs()
DJDiff.java92 API newAPI = XMLToAPI.readFile(tempNewFileName, true, newFileName); in startGeneration() local
97 comp.compareAPIs(oldAPI, newAPI); in startGeneration()