TreeSet


Description:

public TreeSet (owned CompareDataFunc<G>? compare_func = null)

Constructs a new, empty tree set sorted according to the specified comparator function.

If not provided, the function parameter is requested to the Functions function factory methods.

Parameters:

compare_func

an optional element comparator function