take method

TreapOfInt take(
  1. int count
)
override

Returns a new treap containing the first count items.

Implementation

TreapOfInt take(int count) => TreapOfInt._(base.take(count));