add method

ImplicitTreapOfInt add(
  1. int item
)
override

Adds item to the end of the treap.

Implementation

ImplicitTreapOfInt add(int item) => ImplicitTreapOfInt._(base.add(item));