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)
ElementPartitionMapaddElementToPartition in interface ElementPartitionMap<CaptureSearchResult>element - to be addedpartition - to which the element should be addedpublic Date elementToDate(CaptureSearchResult element)
ElementPartitionMapelementToDate in interface ElementPartitionMap<CaptureSearchResult>element - the element to convertCopyright © 2005–2017 IIPC. All rights reserved.