toSet method

Returns a new TreapSetBase with the same elements as this set.

Implementation

TreapSetOfString toSet() => TreapSetOfString._(base.toSet());