java.lang.Object
recoin.group.ComponentSupportImpl
recoin.container.ResultList
recoin.container.MergedResultList
- All Implemented Interfaces:
- recoin.group.ComponentSupport, java.io.Serializable
- public class MergedResultList
- extends ResultList
A special type of ResultList containing MergedResult objects.
- Version:
- 0.2.9
|
Method Summary |
void |
addResult(RetrievalResult result,
float weight)
Adds the specified RetrievalResult to this MergedResultList and sets the
result's ResultList field to this MergedResultList.
If there already exists a MergedResult that equals the RetrievalResult, it is added to
the existing MergedResult, otherwise a new MergedResult is created using the specified
RetrievalResult and weight. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergedResultList
public MergedResultList()
addResult
public void addResult(RetrievalResult result,
float weight)
- Adds the specified RetrievalResult to this MergedResultList and sets the
result's ResultList field to this MergedResultList.
If there already exists a MergedResult that equals the RetrievalResult, it is added to
the existing MergedResult, otherwise a new MergedResult is created using the specified
RetrievalResult and weight.