PriorityList

fun <T> PriorityList(vararg values: Weighted<T>): PriorityList<T>(source)

Constructs a PriorityList from a fixed set of weighted ranges and ensures it is sorted by descending weight.