addOrUpdate method

TreapOfString addOrUpdate(
  1. String item
)
override

Adds or updates an item in this treap.

Returns a new treap with the item added or updated.

Implementation

TreapOfString addOrUpdate(String item) =>
    TreapOfString._(base.addOrUpdate(item));