public static class MAPTopNMetric.Builder extends TopNMetricBuilder<MAPTopNMetric>
candidates, exclude, listSize, prefix, suffix
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MAPTopNMetric |
build() |
ItemSelector |
getGoodItems() |
void |
setGoodItems(ItemSelector goodItems)
Set the set of items that will be considered ‘good’ by the evaluation.
|
getCandidates, getExclude, getListSize, getPrefix, getSuffix, setCandidates, setExclude, setListSize, setPrefix, setSuffix
public ItemSelector getGoodItems()
public void setGoodItems(ItemSelector goodItems)
goodItems
- A selector for good items.public MAPTopNMetric build()
build
in interface org.apache.commons.lang3.builder.Builder<MAPTopNMetric>
build
in class TopNMetricBuilder<MAPTopNMetric>