toSet abstract method

RulesSet<T> toSet()

Returns a set containing all unique elements in the list.

In case that two or more elements are equal but non-identical, the result set will only contain the first element in the list. The remaining elements are discarded.

Implementation

RulesSet<T> toSet();