org.archive.wayback.query.resultspartitioner
Class ResultsPartition
java.lang.Object
org.archive.wayback.query.resultspartitioner.ResultsPartition
public class ResultsPartition
- extends java.lang.Object
- Version:
- $Date: 2008-07-01 16:27:49 -0700 (Tue, 01 Jul 2008) $, $Revision: 2360 $
- Author:
- brad
|
Constructor Summary |
ResultsPartition(java.lang.String startDateStr,
java.lang.String endDateStr,
java.lang.String title)
Construct a ResultsPartition with the provided range and title |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultsPartition
public ResultsPartition(java.lang.String startDateStr,
java.lang.String endDateStr,
java.lang.String title)
- Construct a ResultsPartition with the provided range and title
- Parameters:
startDateStr - endDateStr - title -
resultsCount
public int resultsCount()
- Returns:
- number of SearchResult objects in this partition
filter
public void filter(CaptureSearchResults results)
- add all SearchResult objects from the SearchResults which fall
within the time range of this partition into this partition.
- Parameters:
results -
getTitle
public java.lang.String getTitle()
- Returns:
- Returns the title.
getMatches
public java.util.ArrayList<CaptureSearchResult> getMatches()
- Returns:
- Returns the matches.
Copyright © 2005-2009 Internet Archive. All Rights Reserved.