take method
Returns a new treap containing the first n
items of the sorted sequence.
Returns the original treap if n
>= size.
Implementation
TreapOfDouble take(int count) => TreapOfDouble._(base.take(count));
Returns a new treap containing the first n
items of the sorted sequence.
Returns the original treap if n
>= size.
TreapOfDouble take(int count) => TreapOfDouble._(base.take(count));