org.archive.wayback.core
Class CaptureSearchResults
java.lang.Object
org.archive.wayback.core.SearchResults
org.archive.wayback.core.CaptureSearchResults
public class CaptureSearchResults
- extends SearchResults
- Version:
- $Date: 2010-10-01 23:20:35 +0700 (Fri, 01 Oct 2010) $, $Revision: 3265 $
- Author:
- brad
| Methods inherited from class org.archive.wayback.core.SearchResults |
containsFilter, getCloseMatches, getCurPageNum, getFilter, getFilters, getFirstReturned, getMatchingCount, getNumPages, getNumRequested, getReturnedCount, putFilter, setCloseMatches, setFirstReturned, setMatchingCount, setNumRequested, setReturnedCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptureSearchResults
public CaptureSearchResults()
getFirstResultTimestamp
public String getFirstResultTimestamp()
- Returns:
- Returns the 14-digit String Timestamp of the first Capture in
this set of SearchResult objects
getFirstResultDate
public Date getFirstResultDate()
- Returns:
- Returns the firstResult Date.
getLastResultTimestamp
public String getLastResultTimestamp()
- Returns:
- Returns the 14-digit String Timestamp of the last Capture in
this set of SearchResult objects
getLastResultDate
public Date getLastResultDate()
addSearchResult
public void addSearchResult(CaptureSearchResult result)
- append a result
- Parameters:
result -
addSearchResult
public void addSearchResult(CaptureSearchResult result,
boolean append)
- add a result to this results, at either the begginning or at the end,
depending on the append argument
- Parameters:
result - SearchResult to add to this setappend -
isEmpty
public boolean isEmpty()
getResults
public List<CaptureSearchResult> getResults()
iterator
public Iterator<CaptureSearchResult> iterator()
size
public int size()
setClosest
public void setClosest(CaptureSearchResult closest)
- Parameters:
closest - the closest to set
getClosest
public CaptureSearchResult getClosest()
- Returns:
- the closest
Copyright © 2005-2011 Internet Archive. All Rights Reserved.