toSet method

TreapSetOfInt toSet()
override

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

Implementation

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