pickLast

abstract fun pickLast(comparator: Comparator<in T>)(source)

Adds an ordered disambiguation rule. Values will be compared using the provided comparator, and the rule will automatically select the last value (if multiple candidates have the same attribute value, there will still be an ambiguity).

Parameters

comparator

the comparator to use