org.archive.wayback.partition
Class CaptureSearchResultPartitionMap
java.lang.Object
org.archive.wayback.partition.CaptureSearchResultPartitionMap
- All Implemented Interfaces:
- ElementPartitionMap<CaptureSearchResult>
public class CaptureSearchResultPartitionMap
- extends Object
- implements ElementPartitionMap<CaptureSearchResult>
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptureSearchResultPartitionMap
public CaptureSearchResultPartitionMap()
addElementToPartition
public void addElementToPartition(CaptureSearchResult element,
Partition<CaptureSearchResult> partition)
- Description copied from interface:
ElementPartitionMap
- Add the element to a partition, possible modifying the Partition in some
way. ex:
partition.add(element);
partition.addTotal(1);
- Specified by:
addElementToPartition in interface ElementPartitionMap<CaptureSearchResult>
- Parameters:
element - to be addedpartition - to which the element should be added
elementToDate
public Date elementToDate(CaptureSearchResult element)
- Description copied from interface:
ElementPartitionMap
- Convert an element to a Date ex:
return element.getDate();
- Specified by:
elementToDate in interface ElementPartitionMap<CaptureSearchResult>
- Parameters:
element - the element to convert
- Returns:
- the Date for the element
Copyright © 2005-2011 Internet Archive. All Rights Reserved.