T
- the concrete type of the attributepublic interface MultipleCandidatesDetails<T>
Modifier and Type | Method | Description |
---|---|---|
void |
closestMatch(T candidate) |
Calling this method indicates that the candidate is the closest match.
|
java.util.Set<T> |
getCandidateValues() |
A set of candidate values.
|
T |
getConsumerValue() |
Returns the value of the attribute specified by the consumer.
|
@Nullable T getConsumerValue()
null
if the consumer did not specify a value.java.util.Set<T> getCandidateValues()
void closestMatch(T candidate)
candidate
- The closest match. Must be present in getCandidateValues()
.