select

abstract fun select(results: List<T>): Optional<T>

Extracts a result from the list. The logic behind the extraction algorithm is specific to the result selector implementation.

Return

an extracted result based

Parameters

results

the list of results