intersection method

TreapSetOfInt intersection(
  1. TreapSetOfInt other
)
override

Returns a new set which is the intersection of this set and other.

Implementation

TreapSetOfInt intersection(TreapSetOfInt other) =>
    TreapSetOfInt._(base.intersection(other.base));