public class CaptureSearchResultPartitionMap extends Object implements ElementPartitionMap<CaptureSearchResult>
Constructor and Description |
---|
CaptureSearchResultPartitionMap() |
Modifier and Type | Method and Description |
---|---|
void |
addElementToPartition(CaptureSearchResult element,
Partition<CaptureSearchResult> partition)
Add the element to a partition, possible modifying the Partition in some
way. ex:
partition.add(element);
partition.addTotal(1);
|
Date |
elementToDate(CaptureSearchResult element)
Convert an element to a Date ex:
return element.getDate();
|
public void addElementToPartition(CaptureSearchResult element, Partition<CaptureSearchResult> partition)
ElementPartitionMap
addElementToPartition
in interface ElementPartitionMap<CaptureSearchResult>
element
- to be addedpartition
- to which the element should be addedpublic Date elementToDate(CaptureSearchResult element)
ElementPartitionMap
elementToDate
in interface ElementPartitionMap<CaptureSearchResult>
element
- the element to convertCopyright © 2005–2015 IIPC. All rights reserved.