Class Scored<T>
java.lang.Object
ch.ivyteam.ivy.business.data.store.search.Scored<T>
- Type Parameters:
T
-
Holds a scored result value
- Since:
- 6.5
- See Also:
-
Result.getAllWithScore()
- API:
- This is a public API.
-
Method Summary
-
Method Details
-
getValue
Gets the result value- Returns:
- result value
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getScore
public double getScore()Gets the result score. The higher the better.- Returns:
- result score
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
hasScore
public boolean hasScore()True if a score is available- Returns:
- true if a score is available
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-