String lastCapture = firstCapture;
HashMap<String,Object> digests = new HashMap<String,Object>();
digests.put(captureResult.getDigest(),null);
int numCaptures = 1;
cachedNext = new UrlSearchResult();
cachedNext.setUrlKey(currentKey);
cachedNext.setOriginalUrl(originalUrl);
// now rip through the rest until we find either the last
// in the iterator, or the first having a different urlKey: